Here I am still working on the WCF stuff, and now I’m trying to debug an issue (that shouldn’t exist, hence why its a bug), and as I’m in the middle of tracking it down in the design environment, I get the following helpful message from Visual Studio. This is with IIS 7.0 btw…
I’ve encountered this a few times and each time I have to hunt for the answer, so I’m documenting it here for NEXT time.
- Open IIS Manager (its in Administrative Tools, in Control Panel)
- Expand the <computer name> node
- Expand the Sites node and select the web site you are working with and click “Basic Settings…”
- determine the Application Pool you are working with
- Click Cancel and now click on the “Application Pools” node
- Select the correct Application Pool and click on “Advanced Settings…”
- Find the “Process Model” section and either
- Set "Ping Maximum Response Time" to value large enough to let you finish debugging
-- or --
- Set "Ping Enabled" to False
NOTE: Be aware that setting Ping Enabled to false will prevent IIS from detecting / killing any other “dead” process that is running on that Application Pool.
I recommend that you Instead make a NEW Application Pool, something like “never die” and assign your server to debug to that Application Pool.
- Click OK
Technorati Tags:
Debugging