How to repair the IIS mappings after removing and reinstalling IIS

Source: Internet
Author: User
Iis

Profile
After installing the Microsoft. NET Framework Software Development Kit (SDK), Microsoft Visual Studio. NET 2002, Visual Studio. NET 2003, or Visual Studio 2005 , you will create a Microsoft Internet information Services (IIS) map to associate the new file name extension and settings for asp.net. If you do not have IIS installed when you run the SDK or Visual Studio Setup, or uninstall and reinstall IIS after you run the SDK or Visual Studio Setup, these settings will not be correct. An unexpected situation occurred while trying to view the 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 was not running ASP.net version 1.1.You would be unable to run asp.net Web applications or services.


More information
To repair the 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 then press Enter.
3. At the command prompt, type the following, and then press Enter:
"%windir%\microsoft.net\framework\version\aspnet_regiis.exe"-I.
In this path, version represents the build number of the. NET Framework installed on the server. When you type this command, you must replace this placeholder with the actual version number.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.