IIS 7.5: Fix “Application pool […] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.” (Event ID 5059)


Recently on my Windows 7 developer machine the application pool on my local IIS 7.5 web server stopped working immediately after it was (re)started. In the in the event viewer I found an error (Event ID 5059) that says:

“Application pool […] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.”

You can find more information about “Event ID 5059 — IIS Application Pool Availability” here.

After some try and error I found out, that the app pool was configured to use my domain account as identity and I remembered that I changed the password of my domain account shorty before. Resetting the application pool’s identity (using my new password) fixed the problem and the app pool could be restarted without any problems.

,

5 responses to “IIS 7.5: Fix “Application pool […] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.” (Event ID 5059)”

  1. The “Batch logon” right AKA “Log on as a batch job” did the trick. when you need start application pool under domain account.

  2. Log on as batch job permission is needed but still i am facing different issue
    I have given user account Log on as Batch job permission that run Application Pool but when i restart IIS using cmd IISRESET this permission get removed and application Pool get stopped for first request

Leave a Reply

Your email address will not be published. Required fields are marked *