IIS simply keeps throwing 500 errors (Not a programming question) [Edited]
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
Have been having similar issues with IIS - solved by uninstalling / reinstalling .NET framework (1.1 and 2.0).....seemed to solve my problems..... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
Vikram, When it throws 500 Internal Server Error or Server Application Unavailable, did you check the event logs for any related error messages? That can throw some clues towards the problem being encountered. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://deepak.blogdrive.com/
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
Just some ideas. Check for other programs listening to port 80. Stop (or uninstall) the IIS. Do you still get an 500? (shouldn't) Where does the web root directory point? Change it and see what happens.
-
Just some ideas. Check for other programs listening to port 80. Stop (or uninstall) the IIS. Do you still get an 500? (shouldn't) Where does the web root directory point? Change it and see what happens.
Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
Look in the IIS log (not the Windows event log) at the time when the 500 occurs. Make sure that IIS logging is enabled (and log *everything*)
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
appears to be the infamous Loopback address issue which blocks all loopback addresses except 127.0.0.1 in XP SP2. If so is the case, this might be of some help: http://support.microsoft.com/?id=884020[^] :cool:
-
Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?
MartinSmith wrote:
Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?
That would be rude, wouldn't it?
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
Plenty of things here for you to try... http://www.aspfaq.com/show.asp?id=2226[^]
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
-
Ravi Bhavnani wrote:
Turn off your firewall and see if that helps.
There's only the corporate firewall, over which I have no control. Anyway, it (ASP.net) works for others in my team, and we all use the same network. :sigh: Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.
-
Vikram, When it throws 500 Internal Server Error or Server Application Unavailable, did you check the event logs for any related error messages? That can throw some clues towards the problem being encountered. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://deepak.blogdrive.com/
Vasudevan, I've modified my original post. Please take a look at it. Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.
-
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
I'd take a guess that your metabase is corrupted. If you have a backup of it (typically c:\windows\system32\inetsrv\metabase.bin), restore that. Otherwise, go to Control Panel, Add/Remove Programs, Add/Remove Windows Components, then uninstall IIS. Delete the contents of C:\Windows\System\Inetsrv. Then reinstall IIS. If that works, you'll now have to reconfigure all your applications in the Internet Services Manager snap-in. You'll also need to re-run
aspnet_regiis
to get ASP.NET working. If the IIS install complains about being unable to encrypt the metabase, your MachineKeys folder may well not be working (as mine wasn't). The permissions on mine seemed to be set the same as everyone else's, and a fresh XP install, but didn't work. I set them the same as this KB article[^] - after that, repeating the uninstall/reinstall made the metabase work again. Stability. What an interesting concept. -- Chris Maunder -
This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.
iisreset /stop
net user ASPNET /delete
aspnet_regiis -i
iisreset /startI checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006
You might want to check and see if your web root directory has been configured as a n application in IIS. I know it sounds crazy, but I've seen it happen when I change the target of the default site.