• %systemroot%System32/Inetsrv/ASP Compiled Templates 两者完全控制权限 • %systemroot%IIS Temporary Compressed Files 两者完全控制权限 经查询相关资料后发现这个错误是IIS运行权限的问题,处理方法是更改IIS运行时用的两个帐户:IIS_WPG 和 NETWORK SERVICE 对应用程序池用到的相关目录的NTFS权限,将IIS_WPG帐户设置为读取与执行、列出文件夹目录、读取,而NETWORK SERVICE则需要完全控制权限。 (此话不完全正确) 要配置的相关目录有以下几个: • %systemroot%Help/IISHelp/Common • %systemroot%System32/Inetsrv/ASP Compiled Templates • %systemroot%IIS Temporary Compressed Files 附:%systemroot%通常指C:/Windows,如果你是从Win 2K Server升级到2003,则是C:Winnt。如果你自定义了系统目录,是根据实际情况调整这个变量的值。 完成后,重启一下IIS Admin服务,即可解决此问题。 |
Article ID | : | 842493 |
Last Review | : | September 2, 2004 |
Revision | : | 1.2 |
SYMPTOMS
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
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
CAUSE
RESOLUTION
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 :
| ||||||
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 . |
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 :
| ||||||
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 . |