修复错误1093 “Unable to get the private bytes memory limit for the W3WP process”

重新做了一下MOSS的环境, 又碰到这个错误了
 

==== 事件查看器 对应的错误信息====

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服务.

==============================

原文出处: http://blogs.msdn.com/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx

posted @   Lambert Qin  Views(947)  Comments(0Edit  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
点击右上角即可分享
微信分享提示