Geeks With Blogs
Ahmed Hussein Ahmed Hussein blog

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

I can run ASP.NET applications on the development servers well but when I moved to Test/Production server I have noticed that there is an asp error entry in the event log: "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". I still can can run my ASP.NET applications but having this error was not comfortable. After doing actions below the error disappeared and ASP.net applications seems faster :D

ENVIRONMENT:
- Windows Server 2003
- .NET Framework 2.0

TROUBLESHOOTING:
This error is caused by a known issue with insufficient permissions in your IIS metabase. The metabase ACL's on the target server did not include the IIS_WPG group on the following two nodes of the metabase (IIS_WPG is in both ACL's on a clean install):
- W3SVC/AppPools
- W3SVC/Filters

You can download the MetaACL utility from http://support.microsoft.com/?id=267904. After you have installed the program, open a command prompt and navigate to the directory where you installed it. Then type the following:

cscript metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG RE

Warning

It is recommanded to backt up IIS metabase first)

The path is case sensitive - type exactly as above; after you run this command restart the IIS services and see if this corrects the problem.

Related Links:

http://support.microsoft.com/?id=267904 http://objectmix.com/dotnet/94725-asp-net-2-0-error.html

http://support.microsoft.com/kb/326902

Posted on Sunday, March 23, 2008 12:40 PM ASP.Net | Back to top


Comments on this post: 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

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Ahmed Hussein | Powered by: GeeksWithBlogs.net