I installed Report Services 2005 on XP Pro, and when trying to access the http://localhost/Reports directory, I receive this error:The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/ kbid=267904.
I ran the aspnet_regiis –ga <WindowsUserAccount> , still nothing. I went in to IIS and checked the settings, and everything for the Reports directory looks just like the IISHelp directory(which I'm able to view using http://machinename/IISHelp
I did restart IIS after apply the aspnet_regiis also.
Any other thoughts on what I can look at to resolve this issue
Thanx,
Mike

Failed to access IIS metabase
laghu
Let say my machinename is 2345, my domain is 123, and my userid is 789
I have typed this at the command prompt
cscript metaacl.vbs IIS://localhost/w3svc "2345\ASPNET" R
it says it has changed something in metabase, I've also done this
aspnet_regiis -ga 123\789
and it says it has already registered that userid(789) for ASPNET. I've stopped the IIS, started it again, restart my PC, but..... unfortunately...... the problem still persist
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/ kbid=267904.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.carbar
You need to run the tool with the correct syntax. Try
cscript metaacl.vbs IIS://localhost/w3svc
Steve at Pixelda
After doing the steps highlighted and countless other things I still have the same problem. Did you mange to find out the problem Im exactly where you were
Cris V
James,
Thanx for the tip! Here's what I received back ( I have replaced the domainname with the word domain)
C:\Downloads\Microsoft\iis>cscript metaacl.vbs IIS://localhost/w3svc
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
DOMAIN\IUSR_DOMAIN
Access: R E
BUILTIN\Administrators
Access: RWSUED
Everyone
Access: E
DOMAIN\VS Developers
Access: RWSUE
And, when I entered cscript metaacl.vbs IIS://localhost/w3svc DOMAIN\mjvoisse
I received the following:
No ACE in ACL for DOMAIN\mjvoisse
matthewYoungblood
john trigo
We run into the same problem and went through the following sequence of steps to resolve it:
1. Ran cscript metaacl.vbs IIS://localhost/w3svc "machinename\ASPNET" R. This did not fix the problem. We verified that our ASPNET account had RWSUED and moved to step 2.
2. Ran aspnet_regiis –ga <WindowsUserAccount>. This did not fix the problem either. We then “guessed” that the developer who was experiencing this issue probably installed IIS on top of Visual Studio 2005. So we decided to repair the framework. (step 3)
3. Ran dotnetfx.exe /t:c:\temp /c:"msiexec.exe /fvecms c:\temp\netfx.msi"Finally, that did the trick.
Franck Dauche
I don't see your ASPNET user have read permission. Try adding it
cscript metaacl.vbs IIS://localhost/w3svc "machinename\ASPNET" R
If there are still permission problems, does it work if you temporarily set your ASPNET user to an admin
PradeepC
James,
The asp.net account is machinename\ASPNET
I'm not familiar with the Metaacl tool.
And yes, I get the same result for http://localhost/reportser
I did create a hello world asp.net page on the machine, and that works fine.
Thanx,
Mike
FloH
WooHoo! This worked. Now I get the Reports page. Of course, I have no management choices, just the plain home page. Shouldn't I be able to see more I'm thinking there are still some issues with rights. I appreciate your time and effort with this James.
Darkus
What is your ASP.NET account (you can check this by opening the RS configuration tool, and click on "Web Service Identity" tab) Can you try the Metaacl tool and see if the account has read access
Do you get the same error when accessing http://localhost/reportserver
Needinput
I tried metaacl and still nothing. Here's what I entered:
metaacl http://localhost/Reports mydomain\userid
It returned -2147221020
And, still cannot access http://localhost/Reports
rp666