Applicable to:
- Plesk 12.0 for Windows
Symptoms
-
The website on ASP shows Internal Server Error.
-
The following error can be found in Event Viewer > Windows Logs > Applications the following error can be found:
CONFIG_TEXT: The Template Persistent Cache initialization failed for Application Pool 'domain.tld(domain)(2.0)(pool)' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes.
Cause
Missing system folders or incorrect permissions.
Resolution
Note: This article may require additional administrative knowledge to apply. If any help required, contact server’s administrator or hosting support.
-
Connect to the server via RDP.
-
Execute the command below in the Command Prompt to list the path for ASP cache:
C:\> C:> %windir%\system32\inetsrv\appcmd list config -section:system.webServer/asp
<system.webServer>
<asp>
<session />
<comPlus />
<cache diskTemplateCacheDirectory="%SystemDrive%\inetpub\emp\ASP Compiled Templates" />
<limits />
</asp>
</system.webServer> -
Ensure that the path from the output above exists (
"%SystemDrive%\inetpub\emp\ASP Compiled Templates"`):`
C:\> C:> mkdir "%SystemDrive%\inetpub\emp\ASP Compiled Templates"
A subdirectory or file C:\inetpub\emp\ASP Compiled Templates already exists. -
Ensure the folder permissions include
NETWORK SERVICE
:C:\> C:> icacls "%SystemDrive%\inetpub\emp\ASP Compiled Templates" /grant "NETWORK SERVICE:(OI)(CI)(M)"
processed file: C:\inetpub\emp\ASP Compiled Templates
Successfully processed 1 files; Failed processing 0 files -
Restart the IIS service:
C:\> C:> iisreset
Comments
0 comments
Please sign in to leave a comment.