Workaround for error before loading vs Reload IIS _ Practical Tips

Source: Internet
Author: User
After installing the Microsoft. NET Framework Software Development Kit (SDK) or Visual Studio. NET, you create an 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 behavior occurs when you try to view a asp.net page.
This includes issues with Visual Studio and IIS installation order, which means if you install IIS after installing Visualstudio2005 or uninstall IIS again, install the
This will cause IIS to lose its mapping with asp.net, meaning that it does not exist in IIS or does not support asp.net
So in "open visualstudio.net2005 write a asp.net application is, visualstudio.net2005 is prompted to say my asp.net is not 2.0 version, in IIS cannot find configuration asp.net information"
Workaround:
To repair the IIS mappings for ASP.net, follow these steps:

1. Run Aspnet_regiis.exe utility:

A. Click Start, and then click Run.
B. In the Open box, type cmd, and then press Enter.
C. Type the following command at the command prompt, and then press Enter: "%windir%\microsoft.net\framework\ version \aspnet_regiis.exe"-I
In this path, the version represents the version number of the. NET Framework installed on the server. You must replace this placeholder with the actual version number when you type this command

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.