
after setting up a new box and installing VS.Net 2003 on XP Pro - i got the error message : "Visual Studio .Net has detected that the specified Web Server is not Running ASP.Net 1.1”.
here's the fix ... you may need to run aspnet_regiis with the -r option to replace the current version of IIS and script maps.
Strange, since VS.Net 2003 comes with the 1.1 framework right?
Dunton Fletcher writes : after some investigation I've come up with the following scenario that might make cause the problem
XP Pro (or Server 2003) and does not explicitly set the IIS option at install time. A developer then installs VS.Net 2003, which installs the 1.1 framework. Then they try to create a ASP.Net web app and receive a nasty gram to the effect "http Internal Server error, server not found". Realizing that IIS is not on their PC, they pull the OS install disk out and run setup, installing the web server. This installs the 1.0 framework on the box, but does not configure the web server and ASP.net for side by side execution of the framework.
Luckily, there's a fix:
If this has happened to you, you may need to run aspnet_regiis with the -r option to replace the current version of IIS and script maps.
If this has happened to you and you DON'T need side by side execution of the framework, please download the 1.1 framework follow the instruction documented at : http://www.asp.net/download-1.1.aspx?tabindex=0&tabid=1
If this has happened to you and you need side by side execution of the framework., please see: http://www.asp.net/faq/SideBySide.aspx
for more info :
http://dotnetjunkies.com/WebLog/fletcher.dunton/archive/2004/01/14/5586.aspx
here's a more involved fix, emptor caveat !
i was getting the following error message after re-building my computer (Win XP Pro SP2, SQL Server 200 SP3, .Net 1.1, VS 2003):
"The web server reported the following error when attempting to create or open the web project located at the following URL:'http://localhost/WebService1'.'HTTP://1.1 500 Server Error' "
I saw many articles on the web (a good thread is http://blogs.msdn.com/tmeston/archive/2003/07/08/9806.aspx)., but many 'solutions' did not work for me.
I re-installed everything once or twice to no avail. Finally, I found this solution that worked for me:
1) Make sure the "ASP.Net State" service is running (!)
2) Make sure the "Distributed Transaction Coordinator" service is running (!)
3) Reinstall ISS. Go to Control Panel, Add/Remove Programs/Windows Components and remove IIS. Reboot. Check #1 and #2. Reinstall IIS through Control Panel/Add/Remove Programs/Windows Components.
4) Run "aspnet_regiis.exe -i" using the following command:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
5) Run "regsvr32 aspnet_isapi.dll" using the command:
"regsvr32 c:\windows\Microsoft.NET\Framework\v.1.1.4322\aspnet_isapi.dll
The basic problem was that IIS was not recognizing ASP.Net.