okay here's how it looks:
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. "
What happened:
I use Visual studio 2005 Express to develop a c# website. everything works fine on the server and even the developer server works on local machine. but when I setup a local web server using IIS 5.1 and .NET 2.0, it shows up this message in the browser.
Then I did some search on google and reset the application start point to a sub directory, and I got another error message in my browser:
"Server Error in '/myApp' 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) +3591442
System.Web.Configuration.M
etabaseSer
verConfig.
System.Web
.Configura
tion.IConf
igMapPath2
.MapPath(S
tring siteID, VirtualPath vpath) +9
System.Web.Hosting.Hosting
Environmen
t.MapPathA
ctual(Virt
ualPath virtualPath, Boolean permitNull) +169
System.Web.CachedPathData.
GetConfigP
athData(St
ring configPath) +389
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) +3536567
System.Web.Configuration.R
untimeConf
ig.GetLKGR
untimeConf
ig(Virtual
Path path) +189
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 "
well, I am using windows XP, IIS V5.1, .NET 2.0, Visual Studio 2005 EE, IE6. Any comment to this matter is welcome! Thanks.
Start Free Trial