Hi,i want to start my projent using ASP.Net, but when i open, it keeps on saying: "The Web Server repoted the following error when trying to create or open the web project located at the following URL:'http://localhost/webservice1'.'HTTP/101 500 server Error'." the web server is running, i tried to reinstal it again and re-install the Visual studio.NET again.but still the same.
Please help!!
Tshimangadzo
Hi Tshimangadzo!
You should make sure that the .NET Framework your server is running matches the .NET Framework your Visual Studio projects will be created as.
This type of error happens if, for instance, the server is running .NET Framework 1.1 and Visual Studio wants to create a project that uses .NET Framework 2.0
Sometimes the versions may match and you'll still get that error.
I believe this is caused by some windows updates that don't properly install the latest version of the .NET Framework.
Check out
this thread.
Specifically look at the part:
To fix this I recreated my ASPNET user and re-registered my .NET Framework 1.1.
If you want to try this, follow the steps I posted before on how to set your IIS Server to use .NET Framework 1.1 then:
1) delete the ASPNET Windows user
2) open a cmd window
3) go to the directory where your Framework 1.1 is installed
(this is likely in your C:\Windows\Microsoft.NET\Framework\v1.1.4322)
4) type: aspnet_regiis -i
(this will re-register the Framework 1.1 and reinstall your ASPNET user so that it works properly)
After you've done this, reboot and then double check that your IIS is still set up to use the .NET Framework 1.1
If your project expects the server to be running .NET Framework 2.0 be sure to follow the above steps but go to the directory where your .NET Framework 2.0 is installed.
Hopefully it'll help solve your problems
-Frinny