?
Solved

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

Posted on 2007-10-21
5
Medium Priority
?
7,504 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
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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

862 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