ASP.NET Debugging Timing out with IIS

后端 未结 1 906
走了就别回头了
走了就别回头了 2021-02-11 15:55

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

1条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-11 16:40

    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:

    1. Set Ping Enabled to False.
    2. 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.

    0 讨论(0)
提交回复
热议问题