PC Review


Reply
Thread Tools Rate Thread

Capture IIS application pool recycle event

 
 
Jayesh Modha
Guest
Posts: n/a
 
      14th Apr 2010
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
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      14th Apr 2010
On Apr 14, 9:06*pm, Jayesh Modha <jayesh.mo...@gmail.com> 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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPNET 2.0 Application exhibits strange behavior. Method calls return "False" until we recycle application pool. Dan D. Microsoft ASP .NET 0 12th Sep 2006 03:33 PM
What is the correct setting for Recycle Worker Processes in default application pool Jordan Tan Microsoft ASP .NET 1 10th May 2006 11:09 AM
What should be the correct settings for Recycle Worker Processes in default application pool Jordan Tan Microsoft ASP .NET 0 10th May 2006 07:20 AM
c# to recycle application pool Jason Gleason Microsoft C# .NET 0 11th Jun 2004 08:33 PM
RE: Event ID 2020 Unable to allocate from the system paged pool because pool was empty Steven Liu [MSFT] Microsoft Windows 2000 Terminal Server Applications 0 5th Aug 2003 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:57 PM.