Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. unable to run application as explorer generate error Failed to access IIS metabase I repair .net frame work but still error is there plz help me. [modified]

unable to run application as explorer generate error Failed to access IIS metabase I repair .net frame work but still error is there plz help me. [modified]

Scheduled Pinned Locked Moved ASP.NET
helpasp-netcsharpcomwindows-admin
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anilaabc
    wrote on last edited by
    #1

    I run exe of aspnet_regiis also but problem is still there 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) +3591442 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) +389 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

    modified on Saturday, January 10, 2009 4:40 AM

    A 1 Reply Last reply
    0
    • A anilaabc

      I run exe of aspnet_regiis also but problem is still there 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) +3591442 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) +389 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

      modified on Saturday, January 10, 2009 4:40 AM

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      anilaabc wrote:

      I run exe of aspnet_regiis also but problem is still there

      What was your actual problem ? from where are you runs this command ? Which framework do you have installed in your system ? The possibly causes of your problem is you have install IIS after .NET 2.0 framework in your system. And for that e ASPNET user right does not set properly. Resolution : Run aspnet_regiis command from .NET Framework Directory. e.g : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>**aspnet_regiis -i**

      cheers, Abhijit CodeProject.Com MVP

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        anilaabc wrote:

        I run exe of aspnet_regiis also but problem is still there

        What was your actual problem ? from where are you runs this command ? Which framework do you have installed in your system ? The possibly causes of your problem is you have install IIS after .NET 2.0 framework in your system. And for that e ASPNET user right does not set properly. Resolution : Run aspnet_regiis command from .NET Framework Directory. e.g : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>**aspnet_regiis -i**

        cheers, Abhijit CodeProject.Com MVP

        A Offline
        A Offline
        anilaabc
        wrote on last edited by
        #3

        I Run aspnet_regiis command from .NET Framework Directory. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i and .net frame work 2.0 is installed

        A 1 Reply Last reply
        0
        • A anilaabc

          I Run aspnet_regiis command from .NET Framework Directory. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i and .net frame work 2.0 is installed

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          anilaabc wrote:

          I Run aspnet_regiis command from .NET Framework Directory. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i and .net frame work 2.0 is installed

          Then what happened ? Reset IIS , open Inetmgr , open the properties of Virtual Directory of your application , Check ASP.NET version (it should be 2.0..) . Run the application .

          cheers, Abhijit CodeProject.Com MVP

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups