[iis] The service cannot accept control messages at this time

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.

This question is related to iis windows-7-x64

The answer is

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

The error message could result due to the following reason:

  1. The service associated with Credential Manager does not start.
  2. Some files associated with the application have gone corrupt.

Please follow the steps mentioned below to resolve the issue:

Method 1:

  1. Click on the “Start”
  2. In the text box that reads “Search Program and Files” type “Services”
  3. Right click on “Services” and select “Run as Administrator”
  4. In the Services Window, look for Credential Manager Service and “Stop” it.
  5. Restart the computer and “Start” the Credential Manager Service and set it to “Automatic”.
  6. Restart the computer and it should work fine.

Method 2: 1. Run System File Checker. Refer to the link mentioned below for additional information: http://support.microsoft.com/kb/929833

In my case, the VS debugger was attached to the w3wp process. After detaching the debugger, I was able to restart the Application Pool

I stopped the IIS Worker Process (in task manager), and then started the IIS again. It worked.

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.

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.

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.


  1. Open up Task manager.
  2. Search for the service (based on the exe name and not service name, for those that are different).
  3. Kill the service.

On doing the above the service is stopped.

Restarting the machine worked for me but not every time.

If you are really stuck on this then follow below steps

  1. Open Task Manager
  2. A window will open. Click on Details tab.
  3. Search for the process name you wanted to restart/stop.
  4. Select process, right click on it, select End task option.
  5. A confirmation dialog box will appear. Click on End process button.
  6. Now try to restart your service from Services.msc window.

Being impatient, I created a new App Pool with the same settings and used that.

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.

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

Questions with iis tag:

ASP.NET Core 1.0 on IIS error 502.5 CS1617: Invalid option ‘6’ for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Publish to IIS, setting Environment Variable IIS Manager in Windows 10 The page cannot be displayed because an internal server error has occurred on server The service cannot accept control messages at this time NuGet: 'X' already has a dependency defined for 'Y' Changing project port number in Visual Studio 2013 System.Data.SqlClient.SqlException: Login failed for user "This operation requires IIS integrated pipeline mode." Difference between IISRESET and IIS Stop-Start command Accessing a local website from another computer inside the local network in IIS 7 Visual Studio breakpoints not being hit IIS w3svc error Installed SSL certificate in certificate store, but it's not in IIS certificate list The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security HTTP Error 500.19 and error code : 0x80070021 IIS: Idle Timeout vs Recycle HTTP Error 503. The service is unavailable. App pool stops on accessing website Why is HttpContext.Current null? How to create a self-signed certificate for a domain name for development? IIS - 401.3 - Unauthorized HTTP Error 403.14 - Forbidden - The Web server is configured to not list the contents of this directory Could not load file or assembly "Oracle.DataAccess" or one of its dependencies IIS error, Unable to start debugging on the webserver "Retrieving the COM class factory for component.... error: 80070005 Access is denied." (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Specified argument was out of the range of valid values. Parameter name: site HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents The server response was: 5.7.0 Must issue a STARTTLS command first. i16sm1806350pag.18 - gsmtp Access-control-allow-origin with multiple domains ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d Unable to launch the IIS Express Web server Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel IIS: Display all sites and bindings in PowerShell IIS_IUSRS and IUSR permissions in IIS8 IIS - can't access page by ip address instead of localhost HTTP Error 503, the service is unavailable 401 Unauthorized: Access is denied due to invalid credentials Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list Error - Unable to access the IIS metabase How do I configure IIS for URL Rewriting an AngularJS application in HTML5 mode? Disable HTTP OPTIONS, TRACE, HEAD, COPY and UNLOCK methods in IIS IIS 7, HttpHandler and HTTP Error 500.21 Dots in URL causes 404 with ASP.NET mvc and IIS Cannot serve WCF services in IIS on Windows 8 MVC4 HTTP Error 403.14 - Forbidden MIME types missing in IIS 7 for ASP.NET - 404.17 "401 Unauthorized" on a directory ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8 The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found.

Questions with windows-7-x64 tag:

"The following SDK components were not installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22" The service cannot accept control messages at this time Creating self signed certificate for domain and subdomains - NET::ERR_CERT_COMMON_NAME_INVALID ImportError: No module named enum Git credential helper - update password Can't connect to MySQL server on '' (10061) (2003) Register .NET Framework 4.5 in IIS 7.5 Windows 7 - Add Path How do I start Mongo DB from Windows? How to completely remove node.js from Windows Install Visual Studio 2013 on Windows 7 Nexus 7 (2013) and Win 7 64 - cannot install USB driver despite checking many forums and online resources Can't start hostednetwork Error Message : Cannot find or open the PDB file How to update Python? How to Install Windows Phone 8 SDK on Windows 7 Taskkill /f doesn't kill a process How to fix 'Microsoft Excel cannot open or save any more documents' wamp server does not start: Windows 7, 64Bit Edit a text file on the console using Powershell how to get program files x86 env variable? Android SDK installation doesn't find JDK How does BitLocker affect performance? Installing PIL (Python Imaging Library) in Win7 64 bits, Python 2.6.4