How to register Asp.net 2.0 again
If IIS is installed after. net2005 is installed,
In Windows 2003, XP, and,
Run
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
Restart IIS Command Line details!
Sometimes weProgramFor example, ASP accidentally uses an endless loop or fails to test the DLL component. At this time, IIS stops responding. Let's continue our work. Restart the IIS service.
However, this process is still being executed and the Internet Service Manager cannot be closed. When you want to restore the inetinfo.exe or DLLHOST. EXE process, we get a Denied message. Of course, you still get this prompt if you are an administrator. You may also use net stop, but it takes longer and sometimes does not respond.
At this time, we only need to restart the computer. Can I restart IIS without restarting my computer?
Of course, Microsoft installed a tool named iisreset when installing IIS. You can find it in winnt \ system32, which can be used in the command line like Ping. It has multiple parameters. Below are several important parameters that we have selected in this article:
/Start IIS
/Start IIS (if it is stopped)
/Stop IIS (if started)
/Reboot restart the computer
/Rebootonerror restart your computer if you fail to stop IIS
/Noforce does not need to force IIS to stop
/Timeout: After x seconds, IIS is forcibly stopped unless the/noforce parameter is given. If/rebootonerror is given, it restarts the computer.
You can also run the following command in cmd:
Iisreset/start