Failed to access IIS metabase

  • Running WinXP Pro w/ IIS 5.1

    SQL Svr 2k5 b2

    Installed SQL Server and then IIS.  Checkd to insure IIS was running and installed RS 2k5 b2 w/o issue.  I noted that the two relational dbs were created (ReportServer$sqlsvr2005a, ReportServer$sqlsvr2005aTempDB) and that the Report Server (instance name sqlsvr2005a) is running.  When I attempt to registure the server in SQL Management Studio and click "Test Connection" I get:

    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.

    Stack Trace:

    [HostingEnvironmentException: Failed to access IIS metabase.]   System.Web.Hosting.HostingEnvironment.MapPathCaching(String path) +3609369   System.Web.CachedPathData.GetPathData(String path) +406   System.Web.Configuration.RuntimeConfigLKG.GetInternalSection(String sectionName, Type type, ResultsIndex index) +134

     

    I'm not an IIS user...never been.  What am I doing wrong?

     

    Kurt


    Kurt Allebach

  • Did the same thing the other day and needless to say that the message makes you look at other things but the obvious.

    If you look at the properties of you root(default) web site, click on the home directory tab> click on configuration. You will notice that none of the .net extensions are listed.

    To correct the problem To repair IIS mappings for ASP.NET, run the Aspnet_regiis.exe utlity. To do so, follow these steps:

    1. Click Start, and then click Run.
    2. Type cmd, and then click OK.
    3. At the command prompt, type the following command, and then press ENTER:

      "\<Windows folder>\Microsoft.NET\Framework\<Version Number>\aspnet_regiis.exe" -i

      NOTE:Replace <Windows folder> with the name of the directory where the operating system is installed and replace <Version Number> with the .NET Framework version installed on your computer.

    You can find the above reference at http://support.microsoft.com/default.aspx?scid=kb;en-us;325093

    Once I noticed the extensions were not there, I repaired them and everything worked as expected. This should take care of you.

  • I have the same issue.  I followed the steps outlined to fix it, but i get the same error afterwards.  Any idea what else I can do?

  • Same here.
     
    I added everyone to the local admin group, but that didn't help.
     
    -Ken
  • Thanks for the tip.  Running the aspnet_regiis.exe -i script did the trick for me!

  • It did the trick for me too! Thanks Harold! you are a star!

  • Yes. It worked for me too.

    Thanks.

  • Yes, It worked for me on SQL Reporting Services 2005.

    Thanks,

  • Hi there, had the same problem and the aspnet_regiis.exe also didn't work for me.

    Try changing the machine.configs procesModel from

        <processModel autoConfig="true" />

    to ..

        <processModel userName="SYSTEM" />

     

    worked for me

     

    /Mike

  • hi aspnet_regiis -i option worked for me too.

  • Thanks mate !!!

  • hEY it HELPS FOR ME 222222222

    THANKS A LOT DUDE......:)

  • Hi,

    thanks Harold... aspnet_regiis -i works for me!

    though SSRS asked me to put a User Name and Password which I didn't know what am I going to type in, because I don't remember that I did set a User Name and Password in Reporting Services Configuration...

    please HElp?

    Though I know it's been 2 years from now since you post that forum.....

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply