+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Failed to access IIS Metabase

Failed to access IIS Metabase

4 posts, 0 answered
  1. KhakiMan
    KhakiMan avatar
    9 posts
    Registered:
    16 Oct 2007
    29 Oct 2007
    Link to this post
    Installed Sitefinity, but when trying to access the Project Manager or Jobs site, i receive the following IIS Metabase error:

    Failed to access IIS Metabase

    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.

    Stack Trace:

    [HostingEnvironmentException: Failed to access IIS metabase.]
       System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3609834
       System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
       System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169
       System.Web.CachedPathData.GetConfigPathData(String configPath) +382
       System.Web.CachedPathData.GetConfigPathData(String configPath) +243
       System.Web.CachedPathData.GetConfigPathData(String configPath) +243
       System.Web.CachedPathData.GetApplicationPathData() +68
       System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3503459
       System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832


    Looking at the MS KB, it says to run regserver:  aspnet_regiis -ga <WindowsUserAccount> for ASP.NET 2.0, but I receive an error saying aspnet_regiis can't be found.
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    29 Oct 2007
    Link to this post
    Hello Christian,

    This error is not related to Sitefinity. Most probably you have installed IIS after installing the .NET framework. Follow the instructions below as a possible solution:

    1. Find the Virtual Directory for your ASP.NET 2.0 application.
    2. Right-click for properties and see if you have a tab saying ASP.NET.
    3. If you do, see if your 2.0 app is trying to run using the 1.1 version (1.432...)
    4. Change that to the correct version of your .NET framework (it should be v2.0.50727).

    Also, you can try to repair your ASP.NET installation and set up all of the appropriate ISAPI extension mappings.
    For more information on this approach, please have a look at the following blog.

    Another solution is to reinstall the VS after you install IIS. You can perform these actions as an alternative.

    If these suggestions do not help, you can do a search with Google on this error.

    Let us know how it goes.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. KhakiMan
    KhakiMan avatar
    9 posts
    Registered:
    16 Oct 2007
    29 Oct 2007
    Link to this post
    Thanks for the hints. In the end I unistalled .NET Framework v1.1, v2 and v3, then reninstalled v2.

    It's working now.  Thanks for the suggestions!
  4. Joy
    Joy avatar
    1 posts
    Registered:
    30 Sep 2008
    01 Oct 2008
    Link to this post
    I had the same issue (XP Pro) and was able to fix the problem by going to "Add/Remove Programs" for .NET, but then I opted for "repair" instead of  "uninstall" and it fixed the issue...
Register for webinar
4 posts, 0 answered