Win2003 iis6.0 NET2.0 Server application unavailable problem! _ Application Tips

Source: Internet
Author: User
Tags reflection hosting
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!) )

----------------------------------------------------------------------

Check to see if IIS is turned off and reconfigure the virtual directory if it's open.

--------------------------------------------------------

How to see there is no off, how to configure the virtual directory, I have not done before!

--------------------------------------------------------

Server is 2003,iis is V6.0

--------------------------------------------------------

I also encountered such a problem, the expert pointing ah!

--------------------------------------------------------

Up

--------------------------------------------------------

Fix the folder that the virtual directory points to add the user group

--------------------------------------------------------

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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.