Registering .NET Framework
Sometimes IIS gives you an "Application Not Available" error. A lot of things can cause that, one of them is that ASP.NET is not registered properly with IIS. Follow these steps to register your .NET installation with IIS:
- Open the Command Prompt
- Go To: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 (Or whatever version you need to register)
- aspnet_regiis –u
- The above commend uninstalls this version of ASP.NET. Existing scriptmaps to this version are remapped to highest remaining version of ASP.NET installed on the machine.
- aspnet_regiis –i
- The above command installs this version of ASP.NET and updates scriptmaps at the Microsoft IIS metabase root and all scriptmaps below the root. Existing scriptmaps of lower version are upgraded to this version.
- aspnet_regiis –c
- The above command installs the client side scripts for this version to the aspnet_client subdirectory of each Microsoft IIS site directory.
The error should go away now.
This entry was posted on Friday, November 28th, 2008 at 9:04 am and is filed under IIS, Server. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.