Switch IIS does not restart the computer

xiaoxiao2021-03-06  82

IIS do not restart the computer switch Author: Lotus last modified: 2003-9-23 9:01:31 Click Start printing

The page address is: http://www.blueidea.com/tech/program/2003/830.asp

Switch IIS Do not restart the computer Sometimes we use a dead loop in the web program such as: ASP, or when testing the DLL component, hanging. At this time, IIS stopped responding, we have to continue our work, restart IIS service. However, this process is still executing, but the Internet service manager can't turn off. When we want to end the INetInfo.exe or Dllhost.exe process, we get a refusal information, of course, you are administrator privilege or get this prompt. You may also use NET STOP, but the time of spend is longer, and sometimes it is not responding. At this time, we only restart the computer. Can you restart your computer and RESTART IIS? Of course, Microsoft installs a tool at the same time when installing IIS, called Iisreset, you can find it in WinNT / System32, he can use it as a command line as in the WinNT / System 32. It has multiple parameters, the following is a few important, and it is also the parameters of our paper:

/ Restart stops IIS / Start Start IIS (If Stop) / Stop Stop IIS (If Start) / Reboot Restart Computer / RebootONERROR If Stop IIS Failed Restart Computer / NOFORCE Does Not Forced IIS Stop / Timeout: X After X Second, IIS It is forced to stop unless / NOFORCE parameters give it. If / rebootonerror gives it, it restarts the computer. The most convenient use, of course, you can also run under CMD: This will save you a lot of time, because you don't have to restart your computer . I suggest that you are often used.

转载请注明原文地址:https://www.9cbs.com/read-94789.html

New Post(0)