ASP. net. in the case of net 4.0, Asp. net will automatically complete IIS registration during the installation process, but if ASP is installed first, then IIS is installed, or for other reasons, Asp. net cannot be registered to IIS, You need to manually complete the registration.
1. First, check that ASP. NET 4.0 has been installed. There are two methods:
- Go to Control Panel> Add/deleteProgramTo check whether the installation is complete.
- In the "% SystemRoot % \ Microsoft. NET \ framework" folder, check whether the "v4.0.30319" folder exists and whether there are more than 300 files.
2. In the "% SystemRoot % \ Microsoft. NET \ framework \ v4.0.30319" folder, find the “aspnet_regiis.exe file and add "-I" to it in the CMD command line to run it. 3. After the execution is complete, ASP. NET registers to IIS, and then runs the iisreset command to refresh IIS settings.