%3CLINGO-SUB%20id%3D%22lingo-sub-1574061%22%20slang%3D%22en-US%22%3EEvent%20ID%207023%3A%20The%20Windows%20Process%20Activation%20Service%20terminated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1574061%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20your%20web%20applications%20stop%20responding%20requests%2C%20WAS%20is%20one%20of%20the%20services%20you%20should%20check%20first.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20troubleshooting%20an%20issue%20in%20a%20web%20server%2C%20I%20saw%20this%20error%20in%20the%20Event%20Viewer%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvent%20ID%207023%3A%20The%20Windows%20Process%20Activation%20Service%20service%20terminated%20with%20the%20following%20error%3A%20The%20system%20cannot%20find%20the%20file%20specified%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Nedim_0-1596842386624.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211057i7C958E2BAF8161F7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Nedim_0-1596842386624.jpeg%22%20alt%3D%22Nedim_0-1596842386624.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1202650155%22%20id%3D%22toc-hId-1202651987%22%3ESolution%3C%2FH3%3E%0A%3CP%3EFollow%20the%20steps%20below%20to%20fix%20this%20issue%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECheck%26nbsp%3B%3CSTRONG%3Ec%3A%2Fwindows%2Fsystem32%2Finetsrv%2F%3C%2FSTRONG%3E%26nbsp%3Bfolder.%26nbsp%3B%3CSTRONG%3EapplicationHost.config%3C%2FSTRONG%3E%26nbsp%3Bfile%20might%20be%20missing%20or%20it%20might%20be%20empty.%20If%20it%20is%2C%20go%20to%26nbsp%3B%3CSTRONG%3Ec%3A%2Finetpub%2Fhistory%2F%3C%2FSTRONG%3E%26nbsp%3Bfolder%20and%20copy%20the%26nbsp%3B%3CSTRONG%3EapplicationHost.config%3C%2FSTRONG%3E%26nbsp%3Bfile%20from%20there%20to%26nbsp%3B%3CSTRONG%3E%20inetsrv%3C%2FSTRONG%3E%26nbsp%3Bfolder.%20Try%20to%20start%20Windows%20Process%20Activation%20Service%20again%3C%2FLI%3E%0A%3CLI%3EGo%20to%26nbsp%3B%3CSTRONG%3Ec%3A%5Cinetpub%5Ctemp%5C%3C%2FSTRONG%3E%26nbsp%3Bfolder.%20Check%20if%20there%20is%20an%26nbsp%3B%3CSTRONG%3Eapppools%3C%2FSTRONG%3E%26nbsp%3Bfolder.%20If%20it%20doesn%E2%80%99t%20exist%2C%20create%20this%20folder.%20Try%20starting%20WAS%20again%3C%2FLI%3E%0A%3CLI%3EOpen%20registry%20editor.%20Navigate%20to%3CCODE%3EHKEY_LOCAL_MACHINE%5CSYSTEM%5CCurrentControlSet%5CServices%5CWAS%5CParameters%3C%2FCODE%3E.%20Delete%26nbsp%3B%3CSTRONG%3ENanoSetup%3C%2FSTRONG%3E%26nbsp%3Bentry.%20Try%20again%3C%2FLI%3E%0A%3CLI%3EGo%20%3CSTRONG%3Einetsrv%3C%2FSTRONG%3E%26nbsp%3Bfolder.%20Duplicate%26nbsp%3B%3CSTRONG%3EapplicationHost.config%3C%2FSTRONG%3E%26nbsp%3Bfile.%20Name%20the%20new%20file%26nbsp%3B%3CSTRONG%3EapplicationHost.config.tmp%3C%2FSTRONG%3E.%20Try%20to%20start%20Windows%20Process%20Activation%20Service%20again%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1574061%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20your%20web%20applications%20stop%20responding%20requests%2C%20WAS%20is%20one%20of%20the%20services%20you%20should%20check%20first.%20While%20troubleshooting%20an%20issue%20in%20a%20web%20server%2C%20I%20saw%20this%20error%20in%20the%20Event%20Viewer%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

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:\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