When running web reports the following error is encountered:
"The Template Persistent Cache initialization failed for Application Pool 'Quest Web Reports' because of the following error: Could not create a Disk Cache
Sub-directory for the Application Pool. The data may have additional error codes.."
This can be caused by using the MOVEIIS7ROOT.CMD script, and then adding ASP components at a later date.
1. Run "%windir%\system32\inetsrv\appcmd list config -section:system.webServer/asp" from a command prompt to locate the Cache directory
The path will displayed in the output from this command:
<system.webServer>
<asp>
<session />
<comPlus />
<cache diskTemplateCacheDirectory="%SystemDrive%\inetpub\temp\ASP Compiled Templates" />
<limits />
</asp>
</system.webServer>
2. If this folder does not exist please create it
mkdir "%SystemDrive%\inetpub\temp\ASP Compiled Templates"
3. Grant "Full Control" for the "Network Service" Security principal to this directory.
icacls "%SystemDrive%\inetpub\temp\ASP Compiled Templates" /grant "NETWORK SERVICE:(OI)(CI)(M)"
4 Run IISReset to restart IIS.