belong to Category:. NET technology. NET Framework
----------------------------------------------------------------------
Open the Web page is like this:
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 is found in the application Event log of the Web server. Please review this log entry to discover what caused this error to occur.
There are 2 in the Application log, and a red error is:
Failed to execute request because the App-domain could is not created. Error:0x80070005 denied access.
For more information, see the Help and Support Center in http://go.microsoft.com/fwlink/events.asp.
A yellow warning is:
Failed to initialize the Appdomain:/lm/w3svc/547852252/root
Exception:System.IO.FileLoadException
Message:could not load file or assembly ' system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a ' Or one of its dependencies. Access denied.
Stacktrace:at System.Reflection.Assembly.nLoad (AssemblyName fileName, String codeBase, Evidence assemblysecurity, Ass Embly locationhint, stackcrawlmark& stackmark, Boolean throwOnFileNotFound, Boolean forintrospection)
At System.Reflection.Assembly.InternalLoad (AssemblyName assemblyref, Evidence assemblysecurity, stackcrawlmark& Stackmark, Boolean forintrospection)
At System.Reflection.Assembly.InternalLoad (String assemblystring, Evidence assemblysecurity, stackcrawlmark& Stackmark, Boolean forintrospection)
At System.Activator.CreateInstance (string assemblyname, String typeName, Boolean ignoreCase, BindingFlags bindingattr, Binder Binder, object[] args, CultureInfo culture, object[] activationattributes, Evidence securityinfo, stackcrawlmark& Amp Stackmark)
At System.Activator.CreateInstance (string assemblyname, String typeName)
At System.AppDomain.CreateInstance (string assemblyname, String typeName)
At System.AppDomain.CreateInstance (string assemblyname, String typeName)
At System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment (String appId, Iapplicationhost Apphost, Hostingenvironmentparameters hostingparameters)
At System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors (String appId, Iapplicationhost Apphost, Hostingenvironmentparameters hostingparameters)
For more information, see Help and support in http://go.microsoft.com/fwlink/events.asp
What to do, how to run this page (this page in my VS2005 machine running debugging is all OK!) )
I am a rookie, do not know my answer is superfluous!?
If IIS is installed, the default should be open, unless the service is changed.
Go to Control Panel-〉 performance and maintenance-〉 management tools-〉internet Information Services
You can see it, you can also set up a virtual directory
Workaround: Under this Web sites virtual directory, set the permissions to include
asp.net
IWAM_machinename
Local_service
Network_service
System
And the permissions are set to write & read.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.