|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Failed to access IIS metabaseto access the home page I get: 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) +637 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +174 System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath, Boolean permitNull) +51 System.Web.CachedPathData.GetConfigPathData(String configPath) +341 System.Web.CachedPathData.GetConfigPathData(String configPath) +234 System.Web.CachedPathData.GetApplicationPathData() +38 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +8806383 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +117 I ran aspnet_regiis -ga <WindowsUserAccount> on the IUSR account but it did not change things. Could someone tell me what I am doing wrong? Many Thanks.
Show quote
Hide quote
On May 15, 4:25 am, "Andrew Chalk" <ach***@magnacartasoftware.com> Is this web server on a Domain Controller?wrote: > I have installed my ASP.NET 2.0 web app. on a new server and when I attempt > to access the home page I get: > > 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 seehttp://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) +637 > System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String > siteID, VirtualPath vpath) +9 > System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath > virtualPath, Boolean permitNull) +174 > System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath > virtualPath, Boolean permitNull) +51 > System.Web.CachedPathData.GetConfigPathData(String configPath) +341 > System.Web.CachedPathData.GetConfigPathData(String configPath) +234 > System.Web.CachedPathData.GetApplicationPathData() +38 > System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, > Boolean permitPathsOutsideApp) +8806383 > System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath > path) +117 > > I ran > aspnet_regiis -ga <WindowsUserAccount> > > on the IUSR account but it did not change things. Could someone tell me what > I am doing wrong? > > Many Thanks. What is the Application Pool Identity used to run your web app? //David http://w3-4u.blogspot.com http://blogs.msdn.com/David.Wang //
Show quote
Hide quote
"David Wang" <w3.4***@gmail.com> wrote in message No.news:0da1ab94-0c91-4494-b5de-556c50b1c736@d7g2000prl.googlegroups.com... On May 15, 4:25 am, "Andrew Chalk" <ach***@magnacartasoftware.com> wrote: > I have installed my ASP.NET 2.0 web app. on a new server and when I > attempt > to access the home page I get: > > 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 seehttp://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) +637 > System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String > siteID, VirtualPath vpath) +9 > System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath > virtualPath, Boolean permitNull) +174 > System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath > virtualPath, Boolean permitNull) +51 > System.Web.CachedPathData.GetConfigPathData(String configPath) +341 > System.Web.CachedPathData.GetConfigPathData(String configPath) +234 > System.Web.CachedPathData.GetApplicationPathData() +38 > System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, > Boolean permitPathsOutsideApp) +8806383 > System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath > path) +117 > > I ran > aspnet_regiis -ga <WindowsUserAccount> > > on the IUSR account but it did not change things. Could someone tell me > what > I am doing wrong? > > Many Thanks. >> Is this web server on a Domain Controller? >> What is the Application Pool Identity used to run your web app? I don't understand the question. How do I determine this?Thanks. - A //David http://w3-4u.blogspot.com http://blogs.msdn.com/David.Wang //
Other interesting topics
XmlDSig trouble
Can't import x.509: Cannot find the requested object SslStream and AES 128 cipher How to decipher data in .NET using "RSA/ECB/PKCS1Padding"? Question about TCP/IP and SSL with sslstream Firewall Error Messgae Request for the permission of type CAS Evidence collection on Vista 64 :-( help i have a weird virus thing RE: .NET CLR Error 800700002 |
|||||||||||||||||||||||