To repair the IIS mappings for ASP.net, follow these steps:
1. Run Aspnet_regiis.exe utility:
A. Click Start, and then click Run.
B. In the Open box, type cmd, and then press Enter.
C. At the command prompt, type the following command, and then press Enter:
"%windir%\microsoft.net\framework\ version \aspnet_regiis.exe"-I.
In this path, the version represents the version number of the. NET Framework installed on the server. When you type this command, you must
Replace this placeholder with the actual version number.
asp.net 2.0 and 4.0 are as follows.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.507\aspnet_regiis.exe-i
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i
2 . Register Aspnet_isapi.dll:
A. Click Start, and then click Run.
B. In the Open text box, type the following, and then press Enter:
regsvr32%windir%\microsoft.net\framework\ version \aspnet_isapi.dll
Regsvr32 will return the registration results
3. Summary
In fact, two steps, one step to re-register the net Framework, one step registration Aspnet_isapi.dll, very simple, hope to help everyone.