Capture IIS application pool recycle event

Discussion in 'ASP .Net' started by Jayesh Modha, Apr 14, 2010.

  1. Jayesh Modha

    Jayesh Modha Guest

    Hi All,

    My application is running IIS 7. It is set to recycle through IIS
    settings regularly. Is there anyway I could wire to that event
    through .Net? Does anybody know if IIS 7 exposes any kind of event for
    recycle?
    I need to run an executable file whenever the IIS recycle happens.
    Thanks a lot for looking at this post. Your reply is highly
    appreciated.

    Thanks,
    Jayesh Modha
    Jayesh Modha, Apr 14, 2010
    #1
    1. Advertising

  2. On Apr 14, 9:06 pm, Jayesh Modha <> wrote:
    > Hi All,
    >
    > My application is running IIS 7. It is set to recycle through IIS
    > settings regularly. Is there anyway I could wire to that event
    > through .Net? Does anybody know if IIS 7 exposes any kind of event for
    > recycle?
    > I need to run an executable file whenever the IIS recycle happens.
    > Thanks a lot for looking at this post. Your reply is highly
    > appreciated.
    >
    > Thanks,
    > Jayesh Modha


    I'm not sure about the purpose of doing it but you can try to recycle
    the pool programmatically. Another option is to monitor the event log
    Alexey Smirnov, Apr 14, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr 071

    Application recycle on error

    Mr 071, Nov 20, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    337
    Natty Gur
    Nov 23, 2003
  2. Martin Olson

    worker process recycle event?

    Martin Olson, Dec 7, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    480
    Scott Allen
    Dec 8, 2005
  3. Jordan Tan
    Replies:
    0
    Views:
    494
    Jordan Tan
    May 10, 2006
  4. Jordan Tan
    Replies:
    1
    Views:
    5,252
    =?Utf-8?B?YmFsdWNyaXM=?=
    May 10, 2006
  5. Rick Lawson
    Replies:
    8
    Views:
    785
    Graham Dumpleton
    Jul 17, 2009
Loading...

Share This Page