Solved

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

Posted on 2007-10-21
5
7,467 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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

690 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