Common commands for ASP. NET collection

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.