Event ID 5

KB ID 0000111 Dtd 10/11/09

Problem

The Template
Persistent Cache initialization failed for
Application Pool” AppPoolName: because of the following
error:
Could not create a Disk Cache Sub-directory for the Application
Pool. The data may have additional error codes

Solution

Running DCpromo.exe (Making the server a domain controller) misses out some permissions on folders and you have to add them manually.

1. Navigate to c:windowsHelpiisHelpcommon > Right CLickClick Sharing and Security >

Add >type IIS_WPG > OK.
Give IIS_WPG the following rights,
Read and Execute + List Folder Contents + Read > apply > OK
Then
Add > NETWORK SERVICE > give the following rights
Read and Execute + List Folder Contents + Read > apply > OK

2. Navigate to C:WINDOWSsystem32inetsrvASP Compiled Templates.

Give IIS_WPG full control
Then
Add > NETWORK SERVICE > give Full control > apply > OK

3. Navigate toC:WINDOWSIIS Temporary Compressed Files

Give IIS_WPG full control
Then
Add > NETWORK SERVICE > give Full control > apply > OK

4. Reboot Server

Related Articles, References, Credits, or External Links

NA

Author: Migrated

Share This Post On