The less-than-random ramblings of Scott Jackson, software architect.

No Such Comfort

Debugging Timeout in IIS 7.0

Posted by scottj on January 11, 2012 in Debugging with No Comments

I’ve been working in SharePoint, and when debugging against my local IIS 7.0 instance, there is a 90-second page timeout.  If you’re not done with what you’re investigating at a breakpoint within 90 seconds, IIS will terminate the process hosting your code and dump you unceremoniously.

The tweak is quite easy though.  Open IIS Manager, find the appropriate app pool, right-click it and choose Advanced Settings.  In the Process section, turn Ping Enabled to false.

This will make your debugging sessions much more leisurely, as IIS won’t proactively terminate processes anymore.  You won’t want to leave it like that on a test or production server as that’s how IIS determines if a process has hung so that it can be restarted, but it’s great for your own develpoment environments.

About Me Sample Title

This is a sample text about you. You may login and go to the Dojuniko settings page and edit this text. Here you can display a summary of your website or anything that is interesting to your visitors. You also can disable this section completely. You have full control thru the settings page.