Source: Active Server Pages Event Category: No event ID: 5 Date:
2004-8-5 Events: 18:51:46 users: N / A Computer: Dell2600
description:
Error: The application pool 'defaultApppool''s template permanent cache initialization failed, which is caused by the following errors: The disk cache subdirectory of the application pool cannot be created. The data may contain additional error code. .
"Could not create a Disk Cache Sub-directory for the Application Pool" - I also had this error on Windows Server 2003 DC with Software Update Services Q332097 was correctly implemented and still had error To resolve this problem I went in IIS management,.. changed the identity of the DefaultAppPool from the default of "Network Service" to a specified user that belongs to the IIS_WPG group. Restarted IIS and problem gone. Be aware of the security implications of this fix however.
Error: "Could Not Create a Disk Cache Sub-Directory for the Application Pool" - I Had this Error On Windows Server 2003 with Software Update Services. Solution
2 in Q332097 WORKED For ME, WITH MODIFICATION THAT IS NOT MENTIONED IN THE ARTICLE: Replace Permission Entries on All Child Objects. So, No Removal or Reinstallation of Iis Needed.
Try these fixes:
A. Add The Nt Authority / Network Service Account To
C: / Windows / Help / Iishelp / Common with "Read and Execute" and "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.
You Receive A "Service Unavailable" Error Message When You Browse An IIS 6.0 Web Page ON A Windows Server 2003-Based Domain Controller
Suitable
Symptoms
WHEN You Browse A Web Page That Is Hosted ON A Microsoft Windows Server 2003-Based Domain Controller, You May Receive The Following Active Server Pages (ASP) Error 5 Error Message: Service Unavailable
Additional, The Following Warning Event May Be Logged in The System Event Log:
Event Type: Warning
EVENT SOURCE: W3SVC
Event Category: None
Event ID: 1009
Date: Date
Time: Time
User: N / a
Computer: computer_name
Description:
A Process Serving Application Pool 'Application_pool_name' Terminated Unexpectedly. The Process Id Was '5288'. The Process Exit Code Was '0xffffffff'.
For more information, see help and
Support
Center at
Additional, The Following Error Event May Be Logged In The Application Event Log:
Event Type: MESSAGE
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Date: Date
Time: Time
User: N / A
Computer: computer_name
Description:
Error: The Template Persistent Cache initialization failed for Application Pool 'Application_Pool_Name' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool The data may have additional error codes..
For more information, see help and
Support
Center at
When You Use Filemon To Monitor File Activity You Receive An Error Message That Is Similar To The Following:
3521 Time w3wp.exe: 3168 Create C: / Windows / System32 / InetSRV / ASP Compiled Templates / Pid3168.tmp Access Denied NThority / Network Service
Cause
This issue may occur if the server that is running Microsoft Internet Information Services (IIS) 6.0 is also a domain controller. The problem occurs because the Application pool is using the NT Authority / Network Service account, and the NT Authority / Network Service account may NOT HAVE Permissions to Access The Required Folders.Resolution
To Resolve this Problem, Manually Set Permissions on the folders for the IIS_WPG Group, and the set permissions on the folders for the nt authority / network service account.
To set permissions on the folders for the IIS_WPG Group, FOLLOW THESE STEPS:
1. Start Windows Explorer, And the Open the Following Folder:% SystemRoot% / Help / Iishelp
2. In The Right Pane, Right-Click The Common Folder, And The Click Sharing and Security.
3. Click The Security Tab, Click Add, Type Iis_Wpg, And The Click OK.
4. With IIS_WPG SELECTED, CLICK TO SELECT The Following Check Boxes Under The Allow Column, And The Click OK:
Read and Execute
List folder contents
Read
5. Open the folload all:% systemroot% / system32 / inetsrv
6. In The Right Pane, Right-Click The ASP Compiled Templates Folder, And The Click Sharing and Security.
7. Click The Security Tab, Click The IIS_WPG Group, And The Click To Select The Full Control Check Box Under The Allow Column. Click OK.
8. Open the folload all:% systemroot%
9. In The Right PANE, Right-Click The Iis Temporary Compressed Folder, And The Click Sharing and Security.
10. Click The Security Tab, Click The IIS_WPG Group, And The Click To Select The Full Control Check Box Under The Allow Column. Click OK.
To set permissions on the folders for the NT Authority / Network Service Account, FOLLOW THESE Steps: 1. Start Windows Explorer, And The Following Folder:% SystemRoot% / Help / Iishelp
2. In The Right Pane, Right-Click The Common Folder, And The Click Sharing and Security.
3. Click The Security Tab, Click Add, Type Network Service, And The Click OK.
4. With network service selected, Click to Select the Following Check Boxes Under the allow column, and then click OK:
Read and Execute
List folder contents
Read
5. Open the folload all:% systemroot% / system32 / inetsrv
6. In The Right Pane, Right-Click The ASP Compiled Templates Folder, And The Click Sharing and Security.
7. Click The Security Tab, Click Add, Type Network Service, And The Click OK.
8. With the network service group selected, Click to Select The Full Control Check Box Under the allow column, and then click ok.
9. Open the folowing folder:% systemroot%
10. In The Right Pane, Right-Click The IIS Temporary Compressed Folder, And The Click Sharing and Security.
11. Click The Security Tab, Click Add, Type Network Service, And The Click OK.
12. With the network service group selected, Click to Select The Full Control Check Box Under the allow column, and then click OK.
After You Have completed these Steps, RESTART The IIS Admin Service from The Computer Management Snap-in.
Workaround
You May Be Able To Temporarily Work Around This Problem By Restarting The IIS Admin Service from The Computer Management Snap-in.
STATUS
Microsoft Has Confirmed That this is a problem in the microsoft products That list
For Additional Information About a Similar Issue with a Different Cause, Click The Following Article Number To View The Article In The Microsoft Knowledge Base:
332097 DCPROMO Does Not Retain Permissions on Some Iis Folders
Source Document