Error: The application pool "AppPoolName" template permanent cache initialization failed because of the following reasons: Unable to create the disk cache subdirectory of the application pool. The data may contain additional error codes ...
During a restart of the IIS service, the IIS service was suddenly unable to start, and the Internet Information Services (IIS) Manager did not display the site, and an error was seen in the system log:
===========================================
Source: Active Server Pages
Event Id:5
Error: The application pool "AppPoolName" template permanent cache initialization failed because of the following reasons: Unable to create the disk cache subdirectory of the application pool. The data may contain additional error codes:
===========================================
So on the Internet to search a set of data, and finally found the Microsoft Official solution is as follows: (This method has tried the user to pay attention to the final explanation)
Manually set permissions for a folder
- Click Start, click Windows Explorer, double-click My Computer, double-click the system drive (usually drive C), and then double-click Windows or WINNT.
- Double-click Help, double-click IISHelp, right-click Common, and then click Sharing and Security.
- Click Security, click Add, type IIS_WPG, and then click OK.
- Select IIS_WPG, click to select the following check box, and then click OK:
- Read and Execute
- List Folder Contents
- Read
- Open the systemroot Sharing and Security dialog box for the \system32\inetsrv\asp Compiled Templates folder, and then grant the IIS_WPG group Full Control permission.
- systemrootRepeat step 5 for the \iis Temporary compressed Files folder.
To manually set permissions for the NT authority\network SERVICE, follow these steps:
- Click Start, click Run, type%systemroot%\help\iishelp, and then click OK.
- Right-click the Common folder, and then click Sharing and Security.
- On the Security tab, click Add, type the network SERVICE, and then click OK.
- Click Network SERVICE, click to select the following check box under Allow, and then click OK:
- Read and Execute
- List Folder Contents
- Read
- Click Start, click Run, type%SystemRoot%\System32\Inetsrv, and then click OK.
- Right-click the ASP Compiled Templates folder, and then click Sharing and Security.
- On the Security tab, click Add, type the network SERVICE, and then click OK.
- Click Network SERVICE, click to select the Full Control check box under Allow, and then click OK
- Click Start, click Run, type%systemroot%, and then click OK.
- Right-click the IIS Temporary compressed folder, and then click Sharing and Security.
- On the Security tab, click Add, type the network SERVICE, and then click OK.
- Click Network SERVICE, click to select the Full Control check box under Allow, and then click OK
After you complete these steps, restart the IIS Admin service. To do this, follow these steps:
- Click Start, click Run, type Services.msc, and then click OK.
- Right-click IIS Admin, and then click Restart.
Microsoft has confirmed that this is a problem with Microsoft Windows Server 2003.
================================================
I am in accordance with this method of processing, the problem still appears, later, I suspect that the IIS configuration file is damaged? Then open the directory: C:\WINDOWS\system32\inetsrv find the IIS configuration file MetaBase.xml, after changing to another name, from C:\WINDOWS\system32\inetsrv\History Automatically back up the configuration file to find a recent Metabase_0000000673_0000000000.xml file renamed to MetaBase.xml, restart the IIS service, solve the problem!
This article is the site Arisisi Webmaster original articles, if you encounter related problems can not be solved, add my QQ 178010108