Advertisement

02.15.2007 at 04:13PM PST, ID: 22393042
[x]
Attachment Details

Failed to access IIS metabase.

Asked by kmcbrearty in .NET Framework 2.0, .NET, Microsoft Visual Basic.Net

Tags: iis, access, failed, metabase

I am trying to get a .Net 2.0 Application to run on a Windows 2000 Server.  I keep getting this error message.

Server Error in '/DNN' 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.MapPathCaching(String siteID, VirtualPath path) +3492186
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163
   System.Web.CachedPathData.GetConfigPathData(String configPath) +382
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetApplicationPathData() +68
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3385695
   System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

I have tried the following
1.  Repair .Net 2.0 Framework
2.  Uninstall and Reinstall .Net 2.0 Framework
3.  Run aspnet_regiis –ga ASPNET
4.  Run aspnet_regiis -i
5.  Run aspnet_regiis -iru
6.  Restarted the Machine Several Times

Please note that Integrated Windows Authentication is Checked.  I don't think it matters but the application  protection is set to medium (pooled).Start Free Trial
[+][-]02.15.2007 at 07:52PM PST, ID: 18545992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.15.2007 at 09:17PM PST, ID: 18546321

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 2.0, .NET, Microsoft Visual Basic.Net
Tags: iis, access, failed, metabase
Sign Up Now!
Solution Provided By: PAQ_Man
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32