Visual Studio Debugger
Error: Web site worker process has been terminated by IIS

The debugger stopped execution of code on the Web site. This caused Internet Information Services (IIS) to assume that the worker process stopped responding. Therefore, IIS terminated the worker process.

To continue to debug, you must configure IIS to allow the worker process to continue. This error message does not appear with versions of IIS that are older than IIS 7.

To configure IIS to allow the worker process to continue

  1. Open the Administrative Tools window.

    1. Click Start, and then choose Control Panel.

    2. In Control Panel, choose Switch to Classic View, if necessary, and then double-click Administrative Tools.

  2. In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.

    IIS Manager opens.

  3. In the Connections pane, expand the <computer name> node if necessary.

  4. Under the <computer name> node, right-click Application Pools.

  5. In the Application Pools list, right-click the name of the pool your application runs in, and then click Advanced Settings.

  6. 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.

  7. Click OK to close the Advanced Settings dialog box.

  8. Close IIS Manager and the Administrative Tools window.

See Also

Tasks

Tags :


Community Content

pritishjacob
Steps 10-12 not necessary

I don't think steps 10-12 are relevant or neccesary, in fact they don't even make sense and are not possible in the context. I think it's a copy and paste error...

--lb: i concur with Tom. And if they are relevant, there should be an explanation.

[edit by pritish] I'm glad that I'm not the only one who reads the bloody details. Agreed, steps 10-12 are illogical.

Tags : contentbug

Thomas Lee
TYPO
In the introduction on this page 'ISS terminated the worker process' should read 'IIS terminated the worker process'
Tags : contentbug

Thomas Lee
Bad Editing
Not to mention the little sub title says "to enable Terminal Services". This is one that got away I think.
Tags : contentgbug

Thomas Lee
wrong information
Steps 10 thru 12 don't belong here - have nothing to do with the topic.
Tags : contentbug

Page view tracker