Failed to access IIS metabase

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




Answer this question

Failed to access IIS metabase

  • Pharos

    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


  • Ali Zahid

    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.



  • jedediah2075

    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


  • Chris. T

    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.


    SQL Server Reporting Services
    Home
    Home | My Subscriptions | Help


  • Shailja

    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.


  • mgurba

    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


  • Rup

    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


  • quix ltd

    You need to run the tool with the correct syntax. Try

    cscript metaacl.vbs IIS://localhost/w3svc


  • slumley

    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


  • Fadi Al-Sheikh

    Metaacl tool is in the link you provided :)http://support.microsoft.com/ kbid=267904
  • rwa

    Your login account needs to be a "Content Manager". You can add yourself to this role using the report manager. You may need to login as an admin to do that.
  • The_Postman

    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


  • Failed to access IIS metabase