IIS 6 The Template Persistent Cache initialization failed for Application Pool DefaultAppPool

Posted by Cereal Thursday, May 03, 2007 7:00:00 AM Categories: _Tous les articles _Tous les articles ASP / ASP.NET Windows 2003
Rate this Content 0 Votes

Problem 

You have the error message in your event logs on "Windows Server 2003" with "IIS 6".

ErrorID5ASP



Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
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.

Cause

No files are cached in the ASP Compiled Templates folder.
No compressed files are stored in the temporary folder (also known as the cache directory), even though a client that supports HTTP compression has requested them.
The permissions on temporary folders are missing

Solution

Add "IIS_WPG" and the "NT AUTHORITY\NETWORK SERVICE" groups on these folders with "Full Control" permissions :
 
%SYSTEMROOT%\Help\IISHelp\Common
%SYSTEMROOT%\System32\Inetsrv\ASP Compiled Templates
%SYSTEMROOT%\IIS Temporary Compressed Files
%TEMP%\

References

DCPROMO does not retain permissions on some IIS folders

Simple-Tech.info
Comments are closed on this post.
Site Map | Printable View | © 2008 - 2012 Simple-Tech.info | Powered by mojoPortal | HTML 5 | CSS | Design by mitchinson