For example:
Complete error information. This is generally caused by the. NET version. The last line shows that ASP. NET is 1.1.4322.2407. I want to change it to. net2.0. Open IIS6 and right-click the attribute. No configuration options for ASP. NET have been found. Although this has not been done for a long time, there is definitely an ASP. NET tab. I am very surprised. I thought it was. NET Framework 2.0 not installed. Download and install it, and prompt that it has been installed. Open "delete addProgram", It is indeed installed. View IIS's "Web service extensions" and find that ASP. net1.1 and ASP. net2.0 are allowed, such:
On the Internet, I found someone said that installing. net before installing IIS will cause IIS to fail to parse. net. Specifically, it should not be unable to parse, but the. NET module is not loaded into IIS. Think about this situation. In this case, we need to re-register. net.
Here we need to understand two points:
1. If only. NET Framework 1.1 is installed, the tab is not displayed in IIS. ASP. net1.1 is supported by default. After. NET Framework 2.0 is installed, the Asp.net option is available in the IIS Site attributes.
2. After ASP. net2.0 is installed, close the IIS window and re-open IIS. The Asp.net option is available in the IIS Site attributes.
3. If there is no Asp.net configuration option in IIS, register Asp.net in IIS again. The method is as follows:
(1) Open the command window. Start-run-cmd.
(2) browse the directory of the version of aspnet_regiis.exe to be used (remember that each version of the. NET Framework has its own version of aspnet_regiis.exe ). This file is usually located in the following directory: C: \ WINDOWS \ Microsoft. NET \ framework \ versionnumber
Enter the followingCode, Press enter, and wait until the installation is complete.
For example, c: \ windows \ Microsoft. NET \ framework \ v1.1.4322 \ aspnet_regiis-I
For example, c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis-I
I only want to use ASP. net2.0 here, so I only registered ASP. net2.0, for example:
After that, I restarted the server and found that the ASP. NET option in IIS was back. In fact, you do not need to restart your computer. Restart the IIS Admin Service. If you test the website again, it will not appear again.Unrecognized attribute "type".
In another case, the IIS does not have the Asp.net tab, which is a 32-bit or 64-bit operating system problem. The solution is as follows:
1. Stop the IIS Admin Service in the service (the system also prompts whether to stop the corresponding other services and stop these services ).
2. open the file "C: \ windows \ system32 \ inetsrv \ metabase. xml ",
Delete enable32bitapponwin64 = 'true' and save the file. This statement means to run a 32-bit application on a 64-bit Windows system. If you delete it, It is disabled.
3. Restart the IIS Admin Service and IIS to view the Asp.net tab.
This article is from Happy tech park.