10 June 2005
ASP.NET Uninstalled
Posted by Mikhail Esteves under: C#; Tips .
What do you do if you’re confronted with an error as weird as “Visual Studio has detected that the specified Web Server is not running ASP.NET version 1.1 (or 1.0). You will be unable to run ASP.NET Web applications or services.”
I got this error right after I reinstalled everything on my machine — I do that every so often to keep the speeds high! Anyway, solving this problem is very simple thanks to the _aspnet_regiis_ utility that ships with the .NET Framework. So to reinstall ASP.NET onto IIS, simply do this:
- Surf to C:\Windows\microsoft.net\framework\your-framework-version using the DOS command prompt
- Run aspnet_regiis -i