ASP. NET repair IIS mapping concrete implementation steps

  • 2021-07-22 09:36:11
  • OfStack

To repair the IIS mapping 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 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. 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, and everyone takes what they need

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 returns registration results

3. Summary

In fact, there are two steps, one step is to re-register NET Framework, and the other step is to register Aspnet_isapi. dll, which is very simple. I hope it will be helpful to everyone.


Related articles: