Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the template persistent cache initialization of the application pool DefaultAppPool fails

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you what to do about the template permanent cache initialization failure of the application pool DefaultAppPool. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Error: the template persistent cache initialization of the application pool 'DefaultAppPool' failed, which was caused by the following error: unable to create the disk cache subdirectory of the application pool. The data may contain additional error codes.

Solution: the relevant directory permissions are insufficient for IIS_WPG and Service users:

Systemroot\ Help\ IISHelp\ Common

Systemroot\ System32\ Inetsrv\ ASP Compiled Templates

Systemroot\ IIS Temporary Compressed Files

Solution

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.

two。 Double-click Help, double-click iisHelp, right-click common, and then click sharing and Security.

3. Click Security, then click add, type IIS_WPG, and then click OK.

4. Select "IIS_WPG", click to select the following check boxes, and then click OK: read and execute

List the contents of the folder

Read

5. Open the sharing and Security dialog box in the systemroot\ system32\ inetsrv\ ASP Compiled Templates folder and grant the IIS_WPG group full Control permission.

6. Repeat step 5 for the systemroot\ IIS Temporary Compressed Files folder.

To set permissions for NT AUTHORITY\ NETWORK SERVICE manually, follow these steps:

1. Click start, click run, type% systemroot%\ Help\ iisHelp, and then click OK.

two。 Right-click the Common folder, and then click sharing and Security.

3. On the Security tab, click add, type 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 the contents of the folder

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 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 NETWORK SERVICE, and then click OK.

twelve。 Click NETWORK SERVICE, click to select the full Control check box under allow, and then click OK

After completing 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.

two。 Right-click IIS Admin, and then click restart

This is what happens when the template permanent cache initialization of the application pool DefaultAppPool shared by the editor fails to initialize. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report