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