修复错误1093 “Unable to get the private bytes memory limit for the W3WP process”
==== 事件查看器 对应的错误信息====
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1093
Date: 10/24/2008
Time: 12:29:54 PM
User: N/A
Computer: <computername>
Description:
Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will be unable to limit its memory use, which may lead to a process restart. Error: 0x80070005
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
===============
==== 错误原因 ====
这是一个已知的由于IIS metabase权限不足导致的错误.
目的服务器的IIS metabase的ACL在下面两个节点没有包含IIS_WPG组.
- W3SVC/AppPools
- W3SVC/Filters
==== 修复方法 ====
下载 MetaACL utility (http://support.microsoft.com/?id=267904). 安装后, 打开命令行并切换当前目录到MetaACL utility 安装目录, 运行:
- cscript metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG RE
- cscript metaacl.vbs IIS://Localhost/W3SVC/Filters IIS_WPG RE
注意:
命令中路径是大小写敏感的(最好Copy&Paste), 运行命令以后重启IIS服务.
==============================