Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using IIS7 for my web app, and for some reason, once in awhile the Application Pool crashes (stops).

I would like to receive an email notification when this happens. Is this possible?

If so, how?

Or, should I be looking at a server monitoring tool to help me with this?

share|improve this question
Possible dupe:… – gravyface Sep 8 '11 at 21:10
Possible duplicate:… – Mufasa Sep 12 '11 at 12:55

Turn on health monitoring, pointing to an e-mail provider:

        <smtp deliveryMethod="Network" from="">
            <network defaultCredentials="false" 
                     userName="emailauthenticationusername" />

            <add name="MailWebEventProvider"
                 buffer="false" />
        <add name="Application Lifetime Events Default"
             eventName="Application Lifetime Events"
             custom="" />
share|improve this answer

You could check the Event Viewer, to see if an event is written as the Application Pool crashes. You could also try setting limits for it to recycle - those this is more a prevention than cure.

Also, if you're using ASP.NET you could try sending yourself an alert within Application_End/Application_Error methods?

share|improve this answer


Does that help?

share|improve this answer
David, welcome to serverfault. When you find an answer to a question on an external site the convention is to summarise the solution here and link to the source, so that we have a collection of answers here, rather than links. Thanks. – Sam Sep 8 '11 at 21:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.