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



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
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

QUICK TIP:
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: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

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