Getting an “Event ID 5” error on “DefaultAppPool”?
Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Time: 4:32:55 AM
Error: The Template Persistent Cache initialization failed for Application Pool ‘DefaultAppPool’ because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
Try these fixes:
A. Add the NT AUTHORITY\NETWORK SERVICE account to
C:\WINDOWS\Help\iisHelp\common with “Read and Execute,” “List Folder Contents” and “Read”.
B. Add the NT AUTHORITY\NETWORK SERVICE account to
C:\WINDOWS\system32\inetsrv\ASP Compiled Templates with Full Control.
C. Add the NT AUTHORITY\NETWORK SERVICE account to C:\WINDOWS\IIS Temporary Compressed Files with Full Control.
Thanks David S. for the suggestion! 🙂
Event 5 is more of an annoyance than an error so I implemented this today. I do not know how long I have had this “error” but the only symptom is this error message. I restarted IIS and I did not get the error message. My final test will be when I reboot.