?
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,479 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 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