Solution to errors when installing VS and IIS first

Source: Internet
Author: User
Tags visual studio installer

Microsoft.. NET Framework software development kit (SDK) or Visual Studio. NET, the Internet Information Service (IIS) ing is created for ASP.. NET. If IIS is not installed when you run the SDK or Visual Studio installer, Or you uninstall and reinstall IIS after running the SDK or Visual Studio installer, these settings are incorrect. An error occurred while trying to view the ASP. NET page.
This includes the installation sequence of Visual Studio and iis. That is to say, if you install iis after installing Visual Studio 2005 or uninstall iis again
The ing between iis and Asp.net will be lost, that is, the iis does not exist or does not support asp.net.
In this way, when Visual Studio. net2005 is enabled to write an Asp.net application, Visual Studio. net2005 prompts that my Asp.net is not version 2.0 and the asp.net configuration cannot be found in iis.
Solution:
To fix IIS ing for ASP. NET, follow these steps:

1. Run the Aspnet_regiis.exe utility:

A. Click start and then click Run ".
B. In the open box, type cmd and press Enter.
C. Enter the following command at the command prompt and press Enter: "% windir % \ Microsoft. NET \ Framework \ version \ aspnet_regiis.exe"-I
In this path, the version indicates the. NET Framework version installed on the server. When you type this command, you must replace this placeholder with the actual version number.

Related Article

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.