Solved

The process account used to run ASP.NET must have read access to the IIS metabase

Posted on 2007-10-21
5
7,466 Views
Last Modified: 2013-11-26
I have copied a ASP.net program on my laptop, where visual .NET 2005 has been installed (together with ASP.NET Framework 2.0).
I have created a virtual directory for this applicaiton and set the ASP.NET tab under My testing website to 2.0.

When I access the site through the IE, it return with the error below :
"The process account used to run ASP.NET must have read access to the IIS metabase"

I go to the Local Users and Groups, but couldn't find a account named ASPNE. Only I could find related account is IUSR_.XXX and IWAM_XXXX. But refer to my material on hand, Window XP should use ASPNET. Is this related to my problem and how should I fix it ??
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 7

Expert Comment

by:Chandan_Gowda
ID: 20120787
If you've had to add the machinename\aspnet account to the web operators group to get rid of the 'Failed to Access IIS Metabase' error then this solution will help.

1. iisreset -stop
2. Goto C:\WINNT\Microsoft.NET\Framework\v2.0.50727
3. aspnet_regiis -ua
4. aspnet regiis -i
5. aspnet_regiis -ga machinename\aspnet
6. goto   C:\WINNT\Microsoft.NET\Framework\v1.1.4322
7. aspnet_regiis -i
8. iiseset -start
0
 

Author Comment

by:AXISHK
ID: 20120817
Thanks. But need something to clarify :

"If you've had to add the machinename\aspnet account to the web operators group " 

Do you mean I need to create a ASPNET in my local machine. Inaddtion, which members should I add to the user ? I couldn't find web operators group.

tks.
0
 
LVL 7

Accepted Solution

by:
Chandan_Gowda earned 500 total points
ID: 20120845
Yes u have to create an aspnet account,But this should have already been ther in your machine,This will be created during the time of installation.I think you have not installed in a proper order,IIS should be installed first and then .Net.
0
 

Expert Comment

by:desmondg
ID: 21703968
I used this solution and it worked for me also.  Perhaps the .net installation process should warn people to install IIS first if they intend to use it locally for development.

Thanks Chandan Gowda!
0
 

Expert Comment

by:lameduckprogrammer
ID: 21816639
This is an extremely minor point and I hate to bring it up, but just in case someone isn't paying attention, the last step should read:

8. iisreset -start

It looks like a simple typo in the official answer, but just in case someone out there is confused, I thought i'd correct it.  Nevertheless, thank you!  This answer really helped me out
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question