Web site worker process has been terminated by IIS error
You receive the below error
" Web site worker process has been terminated by IIS with error message" while you are debugging the solutions
This is because of the default timeout setting which is 90 seconds for the corresponding worker process (w3sp.exe).
In order to debug for more time without any error message follow the below steps.
- Go to IIS
Manager (Run-> inetmgr)
- Expand the
leftside tree view and click on the Application Pools
- Select the
corresponding application pool for the worker process you have attached
in the visual studio while debugging
- Click on the
“Advanced Settings” in the right side of the pane.
- Locate the
Process Model section in the advanced settings dialog box
- Set Ping
Enabled to False.
- Set Ping
Maximum Response Time to a value that is larger than 90 seconds say 300
seconds.
- Setting
the “Ping Enabled” to False stops the IIS from checking whether the
worker process is still running and keeps the worker process alive until
you have stopped debugging the process.
- Click OK
No comments:
Post a Comment