Hi @Anonymous ,
IIS comes with a feature called Rapid-Fail Protection. By default an App Pool is configured to become disabled if a worker in the pool crashes 5 times within a 5 minute span. The thresholds of this setting are able to be modified by right clicking on the App Pool going to Advanced Settings and modifying the 'Rapid-Fail Protection' properties.
Microsoft Learn records that event ID 5002 can be resolved by debug the application and restart application pool. You must have membership in Administrators.
- Correct any problems in the application that was running in the worker process. The application may have to be debugged and retested.
- Restart the application pool.
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-click Internet Information Services (IIS) Manager and select Run as administrator.
- In the Connections pane, expand the computer node for the Web server and select the Application Pools folder underneath it.
- In Features View, select the application pool you want to restart.
- Right-click the application pool and select Start.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang