Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Installing IIS/ASP.NET - newbie needs help BADLY!


Message #1 by tophat@c... on Tue, 14 May 2002 16:30:12
Help! I can't get ASP.NET pages to work at all. I'm just getting "500 - 
Internal Server Error" responses every time. Details:

1) Running XP Pro.
2) Installed IIS 5.1 (all of it)
3) Downloaded & installed MDAC 2.7 (just to be sure)
3) Downloaded & installed .NET SDK
4) Wrote a simple .aspx file (copied from Wrox "Beginning ASP.NET book 
chapter 1 - the punctual.aspx page).
5) When I try and load the page I get "500 - Internal Server Error" This 
happens *every* time.

I can load "classic" ASP pages from the same directory, no problem, so I 
don't think it's a permission problem.

Application mappings seem to be OK as well: aspx is mapped to the 
aspnet_isapi.dll file.

I've uninstalled/re-installed both IIS and .NET SDK twice, which hasn't 
helped.

Is there something I need to register? I feel like a dumbass newbie but 
I'm totally at my wits end... so please please help!! Thanx in advance...
Message #2 by "Aaron Fleming" <aaronf@w...> on Tue, 14 May 2002 11:29:48 -0400
Check the priv to see if the user aspnet has access - check for a user
aspnet too 

-----Original Message-----
From: tophat@c... [mailto:tophat@c...] 
Sent: May 14, 2002 12:30 PM
To: aspx_beginners
Subject: [aspx_beginners] Installing IIS/ASP.NET - newbie needs help
BADLY!


Help! I can't get ASP.NET pages to work at all. I'm just getting "500 - 
Internal Server Error" responses every time. Details:

1) Running XP Pro.
2) Installed IIS 5.1 (all of it)
3) Downloaded & installed MDAC 2.7 (just to be sure)
3) Downloaded & installed .NET SDK
4) Wrote a simple .aspx file (copied from Wrox "Beginning ASP.NET book 
chapter 1 - the punctual.aspx page).
5) When I try and load the page I get "500 - Internal Server Error" This

happens *every* time.

I can load "classic" ASP pages from the same directory, no problem, so I

don't think it's a permission problem.

Application mappings seem to be OK as well: aspx is mapped to the 
aspnet_isapi.dll file.

I've uninstalled/re-installed both IIS and .NET SDK twice, which hasn't 
helped.

Is there something I need to register? I feel like a dumbass newbie but 
I'm totally at my wits end... so please please help!! Thanx in
advance...

Message #3 by "Charles E. Brown" <chabrown@b...> on Tue, 14 May 2002 11:29:31 -0400
Tophat:

Go to Settings - Control Panel - Administrative Tools - Services

Check to see if the ASP.NET Server is running. If it isn't, just right
click on it a select Start.

That should work. Let me know,
Charles


-----Original Message-----
From: tophat@c... [mailto:tophat@c...] 
Sent: Tuesday, May 14, 2002 4:30 PM
To: aspx_beginners
Subject: [aspx_beginners] Installing IIS/ASP.NET - newbie needs help
BADLY!

Help! I can't get ASP.NET pages to work at all. I'm just getting "500 - 
Internal Server Error" responses every time. Details:

1) Running XP Pro.
2) Installed IIS 5.1 (all of it)
3) Downloaded & installed MDAC 2.7 (just to be sure)
3) Downloaded & installed .NET SDK
4) Wrote a simple .aspx file (copied from Wrox "Beginning ASP.NET book 
chapter 1 - the punctual.aspx page).
5) When I try and load the page I get "500 - Internal Server Error" This

happens *every* time.

I can load "classic" ASP pages from the same directory, no problem, so I

don't think it's a permission problem.

Application mappings seem to be OK as well: aspx is mapped to the 
aspnet_isapi.dll file.

I've uninstalled/re-installed both IIS and .NET SDK twice, which hasn't 
helped.

Is there something I need to register? I feel like a dumbass newbie but 
I'm totally at my wits end... so please please help!! Thanx in
advance...

Message #4 by "Minh T. Nguyen" <nguyentriminh@y...> on Tue, 14 May 2002 09:53:52 -0700
Hi there,

	Go to Internet Explorer/Tools/Internet Options/Advanced and
uncheck "Show friendly Error Messages". This way you see a specific
error message, not just the generic "500 - Internal Server Error"
message. Then let us know what the detailed error message is, and we'll
help you out.

Minh.

-----Original Message-----
From: tophat@c... [mailto:tophat@c...] 
Sent: Tuesday, May 14, 2002 4:30 PM
To: aspx_beginners
Subject: [aspx_beginners] Installing IIS/ASP.NET - newbie needs help
BADLY!


Help! I can't get ASP.NET pages to work at all. I'm just getting "500 - 
Internal Server Error" responses every time. Details:

1) Running XP Pro.
2) Installed IIS 5.1 (all of it)
3) Downloaded & installed MDAC 2.7 (just to be sure)
3) Downloaded & installed .NET SDK
4) Wrote a simple .aspx file (copied from Wrox "Beginning ASP.NET book 
chapter 1 - the punctual.aspx page).
5) When I try and load the page I get "500 - Internal Server Error" This

happens *every* time.

I can load "classic" ASP pages from the same directory, no problem, so I

don't think it's a permission problem.

Application mappings seem to be OK as well: aspx is mapped to the 
aspnet_isapi.dll file.

I've uninstalled/re-installed both IIS and .NET SDK twice, which hasn't 
helped.

Is there something I need to register? I feel like a dumbass newbie but 
I'm totally at my wits end... so please please help!! Thanx in
advance...

Message #5 by tophat@c... on Tue, 14 May 2002 19:31:11
Thnaks for the responses. I'm still struggling!

>Check the priv to see if the user aspnet has access - check for a user
>aspnet too 

I have a aspnet_wp account. I've set permissions to read & execute for 
everyone on all relevant directories. I don't think it's a permission 
problem.

>Go to Settings - Control Panel - Administrative Tools - Services
>Check to see if the ASP.NET Server is running. If it isn't, just right
>click on it a select Start.

The only ASP related service I could find there was the "ASP.NET State 
Service". Is this what you mean? I started it anyway, but it made no 
difference..

>Go to Internet Explorer/Tools/Internet Options/Advanced and
>uncheck "Show friendly Error Messages". This way you see a specific
>error message, not just the generic "500 - Internal Server Error"
>message. Then let us know what the detailed error message is, and we'll
>help you out.

I did this and now the page says "The server has encountered an error 
while loading an application during the processing of your request. 
Please refer to the event log for more detail information".

So, I started the event viewer to look at the event log (no idea if this 
was the right thing to do!) and I found this in the system event log (the 
time corresponded with the time I loaded the aspx page):

"The server failed to load application '/LM/W3SVC'.  The error was 'The 
specified metadata was not found.'. "

Does any of this make any sense to anyone? Or is it totally irrelevant? 
I'm still tearing my hair out... Thanx in advance again....

  Return to Index