This article is contributed. See the original author and article here.

If your web applications stop responding requests, WAS is one of the services you should check first.

 

While troubleshooting an issue in a web server, I saw this error in the Event Viewer:

 

Event ID 7023: The Windows Process Activation Service service terminated with the following error: ​The system cannot find the file specified

Nedim_0-1596842386624.jpeg

 

Solution

Follow the steps below to fix this issue:

  1. Check c:/windows/system32/inetsrv/ folder. applicationHost.config file might be missing or it might be empty. If it is, go to c:/inetpub/history/ folder and copy the applicationHost.config file from there to  inetsrv folder. Try to start Windows Process Activation Service again
  2. Go to c:inetpubtemp folder. Check if there is an apppools folder. If it doesn’t exist, create this folder. Try starting WAS again
  3. Open registry editor. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWASParameters. Delete NanoSetup entry. Try again
  4. Go inetsrv folder. Duplicate applicationHost.config file. Name the new file applicationHost.config.tmp. Try to start Windows Process Activation Service again

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.