Resolve Error: Application pool ' apppoolname ' template persistent cache initialization failed

Source: Internet
Author: User
Tags iis system log metabase
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

    1. Click Start, click Windows Explorer, double-click My Computer, double-click the system drive (usually drive C), and then double-click Windows or WINNT.
    2. Double-click Help, double-click IISHelp, right-click Common, and then click Sharing and Security.
    3. Click Security, click Add, type IIS_WPG, and then click OK.
    4. Select IIS_WPG, click to select the following check box, and then click OK:
      • Read and Execute
      • List Folder Contents
      • Read
    5. 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.
    6. systemrootRepeat step 5 for the \iis Temporary compressed Files folder.

To manually set permissions for the NT authority\network SERVICE, follow these steps:

    1. Click Start, click Run, type%systemroot%\help\iishelp, and then click OK.
    2. Right-click the Common folder, and then click Sharing and Security.
    3. On the Security tab, click Add, type the network SERVICE, and then click OK.
    4. Click Network SERVICE, click to select the following check box under Allow, and then click OK:
      • Read and Execute
      • List Folder Contents
      • Read
    5. Click Start, click Run, type%SystemRoot%\System32\Inetsrv, and then click OK.
    6. Right-click the ASP Compiled Templates folder, and then click Sharing and Security.
    7. On the Security tab, click Add, type the network SERVICE, and then click OK.
    8. Click Network SERVICE, click to select the Full Control check box under Allow, and then click OK
    9. Click Start, click Run, type%systemroot%, and then click OK.
    10. Right-click the IIS Temporary compressed folder, and then click Sharing and Security.
    11. On the Security tab, click Add, type the network SERVICE, and then click OK.
    12. 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:

    1. Click Start, click Run, type Services.msc, and then click OK.
    2. 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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.