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.Hosting
Environmen
tException
: 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:
[HostingEnvironmentExcepti
on: Failed to access IIS metabase.]
System.Web.Configuration.M
etabaseSer
verConfig.
MapPathCac
hing(Strin
g siteID, VirtualPath path) +3492186
System.Web.Configuration.M
etabaseSer
verConfig.
System.Web
.Configura
tion.IConf
igMapPath.
MapPath(St
ring siteID, VirtualPath vpath) +9
System.Web.Hosting.Hosting
Environmen
t.MapPathA
ctual(Virt
ualPath virtualPath, Boolean permitNull) +163
System.Web.CachedPathData.
GetConfigP
athData(St
ring configPath) +382
System.Web.CachedPathData.
GetConfigP
athData(St
ring configPath) +243
System.Web.CachedPathData.
GetApplica
tionPathDa
ta() +68
System.Web.CachedPathData.
GetVirtual
PathData(V
irtualPath
virtualPath, Boolean permitPathsOutsideApp) +3385695
System.Web.Configuration.R
untimeConf
ig.GetLKGR
untimeConf
ig(Virtual
Path 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