首页 | 免费域名 | 个人服务器 | 一流信息监控拦截系统 | 虚拟主机知识库 | ASP 空间 | ASP技术大全 | 下载中心 | 客户服务中心
  7i24 > 虚拟主机知识库 > 疑难杂征 >
    7i24 .Com  
  DCPROMO does not retain permissions on some IIS folders

7i24.Com不停为您服务
When you promote a Microsoft Windows Server 2003 member server to a domain controller, if Internet Information Services (IIS) is installed on the server, you may see the following symptoms:
No compressed files are stored in the temporary folder (also known as the cache directory), even though a client that supports HTTP compression has requested them.
No files are cached in the ASP Compiled Templates folder.
CAUSE
The operation that promotes a member server to a domain controller (DCPromo.exe) resets permissions on some folders. The Access Control Lists (ACLs) for three folders are not set correctly during this operation.
MORE INFORMATION
You may also see the following in your application event log:
Source : Active Server Pages


Event ID: 5

Error: The Template Persistent Cache initialization failed for Application Pool" AppPoolName: because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes:

If you view permissions on the following folders, you will see that the IIS_WPG and the NT AUTHORITY\NETWORK SERVICE groups do not have permissions on these folders:
systemroot\Help\IISHelp\Common
systemroot\System32\Inetsrv\ASP Compiled Templates
systemroot\IIS Temporary Compressed Files
RESOLUTION
Manually set permissions on the folders
Click Start, click Windows Explorer, double-click My Computer, double-click the system drive (this is typically 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.
With IIS_WPG selected, click to select the following check boxes, and then click OK:
Read and Execute
List Folder Contents
Read
Open the Sharing and Security dialog box for the systemroot\system32\inetsrv\ASP Compiled Templates folder, and then grant Full Control to the IIS_WPG group.
Repeat steps 4 and 5 for the <systemroot>\IIS Temporary Compressed Files folder.
To manually set the permission for 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 NETWORK SERVICE, and then click OK.
Click NETWORK SERVICE, click to select the following check boxes 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 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 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 have completed these steps, restart the Microsoft Exchange Information Store. To do this:
Click Start, click Run, type Services.msc, and then click OK.
Right-click Microsoft Exchange Information Store, and then click Restart.
STATUS
Microsoft has confirmed that this is a problem in Microsoft Windows Server 2003.


  2004年9月12日  阅读 207 次  发送此页给朋友  来源:    版权争议  删除

相关文章:   近期热点:

上一篇: 如何解决”dllhost进程消耗cpu 100%的问题(原创)
下一篇: 特殊的COM+错误(ASP.Net IIS5 SQL2000)(原创)
返回上一层...
搜索:

(C)2001-2005 7i24.Com 保留所有权利