There is no ASP. NET option in IIS Web site properties

Source: Internet
Author: User

Open IIS6, right-click Properties, actually did not find the ASP. NET configuration options, although the long time did not engage in this, but the impression is definitely an ASP. I'm surprised I thought it was. NET Framework 2.0 is not installed, download down install, prompt has been installed, open "Remove add program", indeed already installed. View the Web service extensions for IIS and discover that asp.net1.1 and asp.net2.0 are allowed,

Online a search, found someone said to install first. NET re-installing IIS will cause IIS to fail to resolve. Net. It's not that it's impossible to parse, but to be. NET module is not loaded into IIS. Think of me as if this were the case. This will be re-registered again. NET.

Here are two points to understand:

1. If only the. NET Framework 1.1 is installed in IIS, that tab is not displayed. asp.net1.1 is supported by default. After you install the. NET Framework 2.0, the IIS site properties will have the option of ASP.

2, after installing asp.net2.0, please close the IIS window, reopen the Iis,iis site properties will have the option of ASP.

3. So now that there is no ASP. NET configuration option in IIS, you should re-register ASP. NET in IIS as follows:

(1) Open the Command window. Start-run-cmd.

(2) Browse to the Aspnet_regiis.exe version of the directory you want to use (keep in mind that each version of the. NET Framework has its own aspnet_regiis.exe version). The file is typically located in the following directory: C:\Windows\Microsoft.NET\Framework\versionNumber
Enter the following code, carriage return, waiting for its installation to complete.
such as: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis-i
such as: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis-i

Because I only want to use asp.net2.0 here, so I only registered a bit asp.net2.0

I restarted the server after completion and found that the ASP. NET option in IIS was back. It is not necessary to restart the computer, restart the IIS Admin Service services should also be. Testing the site again does not show the unrecognized attribute "type" .

Source: http://liuxf1949.blog.163.com/blog/static/280225822012322115568/

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.