Reputation: 141672
I just stopped an Application Pool in IIS. When trying to start it, IIS complains that,
The service cannot accept control messages at this time. (Exception from HRESULT: 0x80080425).
What gives? Whence did this error come?
Looking at the Event Viewer > System shows these warnings:
A worker process '1456' serving application pool 'MyAppPool' failed to stop a listener channel for protocol 'http' in the allotted time. The data field contains the error number.
A process serving application pool 'MyAppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '10592'. The data field contains the error number.
A process serving application pool 'MyAppPool' exceeded time limits during shut down. The process id was '10516'.
This resolved itself after about 5-minutes, at which point we tried to restart the website, and received:
The World Wide Web Publish Service (W3SVC) is stopped. Web sites cannot be started unless the World Wide Web Publishing Service (W3SVC) is running.
So, we started the W3SVC service, and then we could start our website.
Upvotes: 130
Views: 213081
Reputation: 291
The debugger might be attached to w3wp.exe via "attach to process" making it unable to restart.
Upvotes: 1
Reputation: 569
I had this issue recently,
Problem statement: Mine was a windows service that I run locally by attaching VS debugger. When I stop debugging and try to restart/stop the service (under services.msc) I used to get the mentioned error.
Solution:
On doing the above the service is stopped.
Upvotes: 8
Reputation: 417
Restarting the machine worked for me but not every time.
If you are really stuck on this then follow below steps
Upvotes: 7
Reputation: 2476
Restarting the IIS windows service (World Wide Web Publishing Service
) and then starting the application pool has worked for me. However, as the top answer suggests it may have just been the waiting that caused it to subsequently work.
Upvotes: 5
Reputation: 1076
I stopped the IIS Worker Process (in task manager), and then started the IIS again. It worked.
Upvotes: 26
Reputation: 2830
I forgot I had mine attached to Visual Studio debugger. Be sure to disconnect from there, and then wait a moment. Otherwise killing the process viewing the PID from the Worker Processes functionality of IIS manager will work too.
Upvotes: 5
Reputation: 7035
I kept having this problem whenever I tried to start an app pool more than once. Rather than rebooting, I simply run the Application Information Service. (Note: This service is set to run manually on my system, which may be the reason for the problem.) From its description, it seems obvious that it is somehow involved:
Facilitates the running of interactive applications with additional administrative privileges. If this service is stopped, users will be unable to launch applications with the additional administrative privileges they may require to perform desired user tasks.
Presumably, IIS manager (as well as most other processes running as an administrator) does not maintain admin privileges throughout the life of the process, but instead request admin rights from the Application Information service on a case-by-case basis.
Source: social.technech.microsoft.com
Upvotes: 3
Reputation: 18932
Being impatient, I created a new App Pool with the same settings and used that.
Upvotes: 2
Reputation: 912
I killed related w3wp.exe (on a friends' advise) at task manager and it worked.
Note: Use at your own risk. Be careful picking which one to kill.
Upvotes: 17
Reputation: 1974
In my case, the VS debugger was attached to the w3wp process. After detaching the debugger, I was able to restart the Application Pool
Upvotes: 28
Reputation: 2004
This helped me: just wait about a minute or two.
Wait a few minutes, then retry your operation.
Ref: https://msdn.microsoft.com/en-us/library/ms833805.aspx
Upvotes: 151
Reputation: 671
The error message could result due to the following reason:
Please follow the steps mentioned below to resolve the issue:
Method 1:
Method 2: 1. Run System File Checker. Refer to the link mentioned below for additional information: http://support.microsoft.com/kb/929833
Upvotes: 57