当前位置: 首页 > news >正文

应用程序池 'DefaultAppPool' 的模板永久性缓存初始化失败 | Active Server Pages 5

事件来源: Active Server Pages
事件种类:
事件 ID: 5
日期: <chsdate w:st="on" isrocdate="False" islunardate="False" day="5" month="8" year="2004"></chsdate>2004-8-5
事件: 18:51:46
用户: N/A
计算机: DELL2600

描述:

错误: 应用程序池 'DefaultAppPool' 的模板永久性缓存初始化失败,这是由下列错误所导致: 无法创建应用程序池的磁盘缓存子目录。数据可能包含额外的错误代码。。

"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 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="True" sourcevalue="2" unitname="in"></chmetcnv>2 in Q332097 worked for me, with one 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," "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

适用于

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

Additionally, 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 <place w:st="on"></place><placename w:st="on"></placename>Support <placetype w:st="on"></placetype>Center at <http://go.microsoft.com/fwlink/events.asp.>

Additionally, 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 <place w:st="on"></place><placename w:st="on"></placename>Support <placetype w:st="on"></placetype>Center at <http://go.microsoft.com/fwlink/events.asp.>

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 NT AUTHORITY\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 then 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 then open the following folder:
%systemroot%\Help\iisHelp

2. In the right pane, right-click the
Common folder, and then click
Sharing and Security.

3. Click the
Security tab, click
Add, type IIS_WPG, and then click
OK.

4. With
IIS_WPG 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 following folder:
%systemroot%\system32\inetsrv

6. In the right pane, right-click the
ASP Compiled Templates folder, and then click
Sharing and Security.

7. Click the
Security tab, click the
IIS_WPG group, and then click to select the
Full Control check box under the
Allow column. Click
OK.

8. Open the following folder:
%systemroot%

9. In the right pane, right-click the
IIS Temporary Compressed folder, and then click
Sharing and Security.

10. Click the
Security tab, click the
IIS_WPG group, and then 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 then open the following folder:
%systemroot%\Help\iisHelp

2. In the right pane, right-click the
Common folder, and then click
Sharing and Security.

3. Click the
Security tab, click
Add, type NETWORK SERVICE, and then 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 following folder:
%systemroot%\system32\inetsrv

6. In the right pane, right-click the
ASP Compiled Templates folder, and then click
Sharing and Security.

7. Click the
Security tab, click
Add, type NETWORK SERVICE, and then 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 following folder:
%systemroot%

10. In the right pane, right-click the
IIS Temporary Compressed folder, and then click
Sharing and Security.

11. Click the
Security tab, click
Add, type NETWORK SERVICE, and then 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 Services snap-in or 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 Services snap-in or from the Computer Management snap-in.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

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

源文档 <http://support.microsoft.com/default.aspx?scid=kb;en-us;842493>

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 5.MySQL数据库之排序检索数据
  • MAD 监视线程无法读取服务的状态,错误“0x80041033” | MSExchangeSA 9099
  • 6.MySQL数据库之过滤数据
  • Exchange 2003 公用文件夹 c1030af7
  • 7.MySQL数据库之数据过滤
  • MySQL中的各种函数
  • W3SVC 1013 IIS进程锁死
  • MySQL——基础查询【1】
  • 如何在 IIS 6.0 中 ASP.NET 锁死的情况下生成转储文件
  • 四、使用数据处理函数——数值处理函数(1)
  • 1.Mysql数据库——初识创建表
  • 微软的blog开放注册
  • 2.Mysql数据库——向表内插入数据
  • 3.Mysql数据库——向表内导入文件数据
  • 4.Mysql数据库——更新表内数据
  • 2019.2.20 c++ 知识梳理
  • iOS帅气加载动画、通知视图、红包助手、引导页、导航栏、朋友圈、小游戏等效果源码...
  • JavaScript标准库系列——Math对象和Date对象(二)
  • JS基础篇--通过JS生成由字母与数字组合的随机字符串
  • Linux编程学习笔记 | Linux IO学习[1] - 文件IO
  • Linux中的硬链接与软链接
  • Sequelize 中文文档 v4 - Getting started - 入门
  • unity如何实现一个固定宽度的orthagraphic相机
  • 第2章 网络文档
  • 时间复杂度与空间复杂度分析
  • 学习笔记TF060:图像语音结合,看图说话
  • 从如何停掉 Promise 链说起
  • ​2021半年盘点,不想你错过的重磅新书
  • ​创新驱动,边缘计算领袖:亚马逊云科技海外服务器服务再进化
  • #NOIP 2014# day.1 T2 联合权值
  • $.ajax()
  • (AngularJS)Angular 控制器之间通信初探
  • (ctrl.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“
  • (LNMP) How To Install Linux, nginx, MySQL, PHP
  • (Matalb时序预测)WOA-BP鲸鱼算法优化BP神经网络的多维时序回归预测
  • (Note)C++中的继承方式
  • (Redis使用系列) Springboot 使用redis实现接口Api限流 十
  • (void) (_x == _y)的作用
  • (附源码)springboot掌上博客系统 毕业设计063131
  • (附源码)计算机毕业设计ssm本地美食推荐平台
  • (论文阅读26/100)Weakly-supervised learning with convolutional neural networks
  • (每日一问)操作系统:常见的 Linux 指令详解
  • (顺序)容器的好伴侣 --- 容器适配器
  • (四)【Jmeter】 JMeter的界面布局与组件概述
  • (学习日记)2024.04.04:UCOSIII第三十二节:计数信号量实验
  • (一)python发送HTTP 请求的两种方式(get和post )
  • (转)Groupon前传:从10个月的失败作品修改,1个月找到成功
  • (转)JAVA中的堆栈
  • (转)mysql使用Navicat 导出和导入数据库
  • (最完美)小米手机6X的Usb调试模式在哪里打开的流程
  • .babyk勒索病毒解析:恶意更新如何威胁您的数据安全
  • .NET / MSBuild 扩展编译时什么时候用 BeforeTargets / AfterTargets 什么时候用 DependsOnTargets?
  • .NET Core 成都线下面基会拉开序幕
  • .Net Remoting(分离服务程序实现) - Part.3
  • .Net Web窗口页属性