An app pool kept stopping every time it was started and gave this error in the application logs:
The worker process for application pool \'APP_POOL_NA
If you recently installed the Windows 10 Fall Creators Update, this problem and a solution for it may be covered in this Microsoft knowledge base article. The solution:
net stop WAS /yrmdir /s /q C:\inetpub\temp\appPoolsnet start W3SVCThanks to @weir for reporting this issue.
This wasn't a permission error in this instance, but it's would be well worth ensuring IIS_IUSRS has access to your site config just in case. See here
for steps on how to do this.
This issue appeared to be a virtual directory appeared in the IIS temp files, which was pointing to the wrong place. To fix:
C:\inetpub\temp\appPools\