Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 5 serves aspx source

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Web Folders  
Author Message
user3403

External


Since: Jan 07, 2005
Posts: 2



(Msg. 1) Posted: Fri Jan 07, 2005 3:05 pm
Post subject: IIS 5 serves aspx source
Archived from groups: microsoft>public>dotnet>framework>aspnet, others (more info?)

On two different computers, I am running Windows 2000 Professional, IIS5,
and the .NET framework.

I created an ASP.Net application. On the first system it worked great. Now
I have to put it on the second system for my boss to take to Alabama next
week.

I installed IIS on the second system and pointed my browser at it, only to
find that, rather than processing the code like the first computer did, it
serves the whole thing up like a static page.

Finding that the ASP.Net ISAPI filter did not automatically install on the
second machine like it did on the first, I added it manually. No good. I
still get the entire ASPX file sent to the browser.

What am I doing wrong?

Thanks.

Daniel Wilson

 >> Stay informed about: IIS 5 serves aspx source 
Back to top
Login to vote
tuthach

External


Since: Jan 07, 2005
Posts: 1



(Msg. 2) Posted: Fri Jan 07, 2005 3:05 pm
Post subject: RE: IIS 5 serves aspx source [Login to view extended thread Info.]
Archived from groups: microsoft>public>inetserver>iis, others (more info?)

Did you use the aspnet_regiis utility?

"Daniel Wilson" wrote:

 > On two different computers, I am running Windows 2000 Professional, IIS5,
 > and the .NET framework.
 >
 > I created an ASP.Net application. On the first system it worked great. Now
 > I have to put it on the second system for my boss to take to Alabama next
 > week.
 >
 > I installed IIS on the second system and pointed my browser at it, only to
 > find that, rather than processing the code like the first computer did, it
 > serves the whole thing up like a static page.
 >
 > Finding that the ASP.Net ISAPI filter did not automatically install on the
 > second machine like it did on the first, I added it manually. No good. I
 > still get the entire ASPX file sent to the browser.
 >
 > What am I doing wrong?
 >
 > Thanks.
 >
 > Daniel Wilson
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS 5 serves aspx source 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 3) Posted: Fri Jan 07, 2005 3:05 pm
Post subject: Re: IIS 5 serves aspx source [Login to view extended thread Info.]
Archived from groups: microsoft>public>dotnet>framework>aspnet, others (more info?)

Hello,

This can happen if the IIS Mappings for ASP.NET is not correctly
installed. KB Article 306005 explains how to solve this:

"How To Repair IIS Mapping After You Remove and Reinstall IIS"
<a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306005" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306005</a>

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>

Daniel Wilson wrote:

 > On two different computers, I am running Windows 2000 Professional, IIS5,
 > and the .NET framework.
 >
 > I created an ASP.Net application. On the first system it worked great.
Now
 > I have to put it on the second system for my boss to take to Alabama next
 > week.
 >
 > I installed IIS on the second system and pointed my browser at it, only
to
 > find that, rather than processing the code like the first computer did,
it
 > serves the whole thing up like a static page.
 >
 > Finding that the ASP.Net ISAPI filter did not automatically install on
the
 > second machine like it did on the first, I added it manually. No good.
I
 > still get the entire ASPX file sent to the browser.
 >
 > What am I doing wrong?
 >
 > Thanks.
 >
 > Daniel Wilson<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 5 serves aspx source 
Back to top
Login to vote
user3403

External


Since: Jan 07, 2005
Posts: 2



(Msg. 4) Posted: Fri Jan 07, 2005 3:36 pm
Post subject: Re: IIS 5 serves aspx source [Login to view extended thread Info.]
Archived from groups: microsoft>public>inetserver>iis, others (more info?)

Thank you both! That's what I missed!

dwilson

"Tu-Thach" <TuThach.RemoveThis@discussions.microsoft.com> wrote in message
news:60A01AD1-8F9E-449C-92C7-65ADFAE1DB4F@microsoft.com...
 > Did you use the aspnet_regiis utility?
 >
 > "Daniel Wilson" wrote:
 >
  > > On two different computers, I am running Windows 2000 Professional,
IIS5,
  > > and the .NET framework.
  > >
  > > I created an ASP.Net application. On the first system it worked great.
Now
  > > I have to put it on the second system for my boss to take to Alabama
next
  > > week.
  > >
  > > I installed IIS on the second system and pointed my browser at it, only
to
  > > find that, rather than processing the code like the first computer did,
it
  > > serves the whole thing up like a static page.
  > >
  > > Finding that the ASP.Net ISAPI filter did not automatically install on
the
  > > second machine like it did on the first, I added it manually. No good.
I
  > > still get the entire ASPX file sent to the browser.
  > >
  > > What am I doing wrong?
  > >
  > > Thanks.
  > >
  > > Daniel Wilson
  > >
  > >
  > ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 5 serves aspx source 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]