468,470 Members | 1,447 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,470 developers. It's quick & easy.

IIS metabase problem

11
Hi,

I activated IIS on my XP machine and then installed an Intranet app (.NET).
When I tried to access the portal, I got an error with the message "Failed to access IIS metabase".
The exact message is below. Any help would be appreciated.

Server Error in '/portal' 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.]
System.Web.Configuration.MetabaseServerConfig.MapP athCaching(String siteID, VirtualPath path) +637
System.Web.Configuration.MetabaseServerConfig.Syst em.Web.Configuration.IConfigMapPath2.MapPath(Strin g siteID, VirtualPath vpath) +9
System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath virtualPath, Boolean permitNull) +174
System.Web.Hosting.HostingEnvironment.MapPathInter nal(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(Virtu alPath virtualPath, Boolean permitPathsOutsideApp) +8823599
System.Web.Configuration.RuntimeConfig.GetLKGRunti meConfig(VirtualPath path) +117
Feb 28 '12 #1
1 6367
zmbd
5,400 Expert Mod 4TB
Go to the link provided in the error message: http://support.microsoft.com/?kbid=267904 carefully follow the instructions there in order to allow the ASP.Net to access the IIS server.
You may have to follow the advice given in post #2 of the following thread: The process account used to run ASP.NET must have read access to the IIS metabase
(kenobewan):
This is a common problem when IIS is installed after the framework. Usually fixed by running
Expand|Select|Wrap|Line Numbers
  1. aspnet_regiis -i. HTH
.
Feb 14 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by David Veeneman | last post: by
reply views Thread by Will Holley | last post: by
2 posts views Thread by Kivak Wolf | last post: by
1 post views Thread by Schemer | last post: by
2 posts views Thread by John | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.