Blog Post

IIS Support Blog
1 MIN READ

Event ID 7023: The Windows Process Activation Service terminated

Nedim's avatar
Nedim
Former Employee
Aug 07, 2020

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

 

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:\inetpub\temp\ 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_MACHINE\SYSTEM\CurrentControlSet\Services\WAS\Parameters. 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
Published Aug 07, 2020
Version 1.0

2 Comments

  • What is this entry param NanoSetup ? And how does it influence WAS? Do you have some docs around it? Many thanks. 

  • W11 Pro, 22H2, the inetsrv folders in System32 and SysWOW64 are empty, and nothing in the c: root.

    In the XP styled "Turn Windows Features On and Off" do we just want the IIS WWW Services section installed to clear the error, or a component from somewhere else?

    Thanks.