Pages

Wednesday, November 21, 2012

Windows Activation Service (WAS) failed to start : Error 3

Windows Process Activation services (WAS) failed to start in IIS 7.5:

Error Discription : I recently had this issue in our production environment when our production website stopped all of a sudden and we were not able to start the site and getting an error that WAS and W3SVC services are in stopped state. 
When we tried to start W3SVC service from the services.msc console we got another error that this service failed to start as this is dependent on WAS (Windows Process Activation Service)..as following.

"The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error: The system cannot find the file specified."

When we try to start  Windows Process Activation Service - WAS... we get another error something like following...

"The Windows Process Activation Service service terminated with the following error3 : The system cannot find the file specified."

Solution :

We tried all the paths like where the services or its files could be located but failed. Then at last from the Google Uncle we got the following solution.. Hope this would work for you too....




Steps :
1. Check the following path if it is present there on the box...
     C:\inetpub\temp\apppools
2. If the apppools folder is not present under the path then this is the culprit of your problem. Just create this folder under C:\inetpub\temp (if temp is also not present then first create temp folder under C:\Inetpub and then create apppools under temp). 
3. Once you create the folder apppools under c:\inetpub\temp.. Go to services.msc and start WAS service. This time you should not get any error.
4. Now start W3SVC service. This service too would start now.

Now you can start your stopped website without any issue...

Happy Googling!!! ENJOY!!!!