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]
-
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
-
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
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
-
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
-
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
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