Friday, February 3, 2012

How To: Stop IIS7 from timing out while you’re debugging

Have you ever seen this before while you’re debugging an IIS7 application?

2012-01-19_1306

When you’re debugging code such as webpages, services, SharePoint event receivers, and SharePoint workflow handlers. You only have so long before you get a timeout message from IIS7 and you can no longer continue debugging. 

This is because IIS "pings" it’s Application Pools to see if they are still responsive.  You can either disable this or change the response time from the default 90 seconds.

Bring up IIS7 Manager

  1. Expand the Server in the left pane
  2. Click on Application Pools
  3. On each application pool, right click and choose Advanced Settings
  4. Under the Process Model, change Ping Enabled to False or change the Ping Maximum Response Time to a greater value

2012-02-03_0918

Cheers,

Justin

No comments:

Post a Comment