Finally broke down and seeking help, my client/iis (not sure which) usually times out after about 30s - 1 minute while im debugging (stepping through code) which not only causes me to lose my spot and have to start over (usually stepping faster, making more mistakes) but the IIS Debug session closes completely and I have to warm up the entire session again.
What's the best way to get more time out of a debugging session?
Debugging a vanilla 3.5 Web Site (not app) on IIS 7.5 Classic Pipeline
Right Click on Web Project → Properties → Start options → Use Custom Server → Base URL → Enter Site Address as Hosted in IIS. Hit F5 and you will be able to Debug your code.
Setting the connection limit works if you set it high enough. I wanted to never be bothered by this again. Here is what I did:
This assumes you've got an IIS App Pool selected in the IIS Manager
...In the Advanced Settings dialog box, locate the Process Model section, and perform one of the following actions:
- Set Ping Enabled to False.
- Set Ping Maximum Response Time to a value that is larger than 90 seconds.
Setting Ping Enabled to False stops IIS from checking whether the worker process is still running and keeps the worker process alive until you stop your debugged process. Setting Ping Maximum Response Time to a large value allows IIS to continue monitoring the worker process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With