The service cannot accept control messages at this time

Shaun Luttin picture Shaun Luttin · Apr 21, 2015 · Viewed 101.3k times · Source

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? From 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.

Answer

user1412699 picture user1412699 · Sep 23, 2016

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