i have this error when running ASP.NET 2.0 in IIS 5.1

Discussion in 'Windows 64bit' started by Guest, Feb 22, 2007.

  1. Guest

    Guest Guest

    Server Error in '/CSWeb' Application

    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.]
    siteID, VirtualPath path) +3500394

    System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
    virtualPath, Boolean permitNull) +163
    System.Web.CachedPathData.GetConfigPathData(String configPath) +382
    System.Web.CachedPathData.GetConfigPathData(String configPath) +243
    System.Web.CachedPathData.GetApplicationPathData() +68
    System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath,
    Boolean permitPathsOutsideApp) +3393715
    path) +18
    Guest, Feb 22, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.