How to fix IIS ing after you delete and reinstall IIS

Source: Internet
Author: User
Install Microsoft.. NET Framework software development kit (SDK) or Visual Studio. net, the Internet Information Service (IIS) ing is created for ASP.. net. If you install the SDK or Visual Studio Program If IIS is not installed, or you uninstall and reinstall IIS after running the SDK or Visual Studio installation program, these settings are incorrect. An error occurred while trying to view the ASP. NET page.

When you try to create an ASP. NET web application in Visual Studio. NET 2003, you will 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.

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. type the following command at the command prompt and press Enter:

"% WinDir % \ Microsoft. net \ framework \ version \ aspnet_regiis.exe "-I

in this path, version indicates the version installed on the server.. NET Framework. When you type this command, you must replace this placeholder with the actual version number.

2. Register aspnet_isapi.dll:

A. Click Start, and then click Run ".
B. In the open text box, type the following and press Enter:

Regsvr32 % WinDir % \ Microsoft. NET \ framework \Version\ Aspnet_isapi.dll

Regsvr32 returns the registration result.

This article is transferred from msdn: How to fix IIS ing after you delete and reinstall IIS

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.