ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

HTTP Status Codes
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Autofix IIS Failures

In IIS 5 and above, the IISAdmin service is set up to automatically restart if it fails. This isn't just some special magic restricted to IIS and there's no reason you can't change what IIS does when it crashes. If you're having problems with your web server, want to be notified when there's a problem, or even want to restart the whole computer then this tip is for you.

In the services control panel you can view and modify the action that any service takes when it fails. Right click on the appropriate service and choose properties. On the resulting screen you should see a Recovery tab. This is the place to make those changes. By default, the IIS Admin Service runs IISReset for all failures, but that's simply the default. There's an option to restart the service, restart the computer, or even run any program you want.

Isn't it ironic that the first version of IIS to include a good way to handle failures is also the version of IIS that fails the least?

Oh and if you want more info on that IISReset command I mentioned above, the next tip is for you.

Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to:

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers