The following figure:
The complete error message is in the picture. This situation is generally due to a. NET version problem. We see the last line showing ASP.net version 1.1.4322.2407. I'm going to change it. NET2.0. Open IIS6, right-click the property, incredibly did not find ASP.net configuration options, although for a long time did not do this, but the impression is definitely a asp.net tab. I'm surprised I thought it was. NET Framework 2.0 not installed, download down to install, the hint has been installed, open the "Remove add program", indeed has been installed. View the Web service extensions for IIS and find that asp.net1.1 and asp.net2.0 are allowed, as shown in the following figure:
A search on the internet, found that someone said to install first. NET to install IIS again will cause IIS to fail to resolve. Net. Rather, it should not be impossible to parse, but. NET module is not loaded into IIS. Think of me as if that was the case. In that case, you'll have to re-register. NET again.
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. The ASP.net option is available in the IIS site properties after the. NET Framework 2.0 is installed.
2, after the installation of asp.net2.0, please close the IIS window, reopen Iis,iis site properties will have the ASP.net option.
3, so now that there is no asp.net configuration option in IIS, you need to re-register the 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 (remember that each version of the. NET Framework has its own version of Aspnet_regiis.exe). This file is typically located in the following directory: C:\Windows\Microsoft.NET\Framework\versionNumber
Enter the following code, and wait 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 asp.net2.0, the following figure:
When I'm done, I reboot the server and find the ASP.net option in IIS back. In fact, you don't have to reboot your computer to restart the IIS Admin service. Testing the site again does not show the unrecognized attribute "type" .
There is also a situation where there is no ASP.net tab in IIS, which is a problem with 32 and 64-bit operating systems, as follows:
1, stop the IIS Admin service in the service (also prompts you to stop the corresponding other and stop the services).
2, open the file "C:\WINDOWS\system32\inetsrv\MetaBase.xml",
Save the file after you delete the enable32bitapponwin64= ' TRUE ' sentence. This means running a 32-bit application on 64 of the Windows system, removing it and shutting it down.
3, you can see the ASP.net tab after restarting the IIS Admin Service and IIS.
This article comes from: Happy Technology Park