Summary After you install the Microsoft .NET Framework Software Development Kit (SDK), Microsoft Visual Studio .NET 2002, Visual Studio .NET 2003, or Visual Studio 2005, a Microsoft Internet Information Services (IIS) map is created to convert new ASP.NET files Extensions are associated with settings. If IIS is not installed when running the SDK or Visual Studio Setup program, or if IIS is uninstalled and reinstalled after running the SDK or Visual Studio Setup program, these settings will be incorrect. You encounter an unexpected behavior when trying to view an ASP.NET page.
When you try to create a new ASP.NET Web application in Visual Studio .NET 2003, you receive the following error message:
Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.
Back to the top
More Information To repair IIS mappings for ASP.NET, run the Aspnet_regiis.exe utility: 1. Click Start, and then click Run.
2. In the Open box, type cmd and press Enter.
3. Type the following at the command prompt and press Enter:
"%windir%Microsoft.NETFrameworkversionaspnet_regiis.exe" -i
In this path, version represents the version number of the .NET Framework installed on the server. When typing this command, you must replace this placeholder with the actual version number.
Back to Top
References For more information about the Aspnet_regiis.exe utility, run this .exe file with -? as the parameter.
For descriptions of common symptoms related to misconfigured ASP.NET and IIS application mappings, click the article number below to view the corresponding article in the Microsoft Knowledge Base:
325093 ( http://support.microsoft.com/kb/325093/ ) PRB: Unexpected behavior in ASP.NET page due to unhandled server-side code