« Previous Next »

Thread: Cycling IIS

Last post 07-12-2009 6:39 AM by bapo_10@hotmail.com. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-11-2009, 2:42 AM

    Cycling IIS

    I have a web site that operates in on a shared hosting server running IIS 7.x.

    My provider insists on cycling the app pool and indeed on IIs shutdown and restart from time to time.

     My application is logged in 24 * 7 to a third party server. 

    I have a gloabl.asax file that needs fired when the web server (IIS), is cycled and I'm not sure at the moment when the app pool is re-cycled. Is there a way to do this? This is so that I may re - establish connection to the third party site upon these events.

    Any help would be appreciated

     

    Thanks Robert

  • 07-11-2009, 6:12 PM In reply to

    Re: Cycling IIS

    Application_OnStart() in Global.aspx event will always get fired upon the IIS restart. Put your logic in it.
    AccuWebHosting.Com - Windows Hosting Expert
    ASP.NET 3.5 | SQL 2005 Database | US Based Hosting Company | 24 X 7 Support | Daily Backups | Uptime Guarantee | Affiliates - $50 Per Sale
    | Online US Jobs | Website Hosting Directory | Windows Hosting
  • 07-12-2009, 6:39 AM In reply to

    Re: Cycling IIS

    thankyou - I'll try it

Page 1 of 1 (3 items)
Microsoft Communities