win2003 iis6.0 NET2.0的Server Application Unavailable的问题!
作者:
win2003 iis6.0 NET2.0的Server Application Unavailable的问题!
所属分类:.NET技术 .NET Framework
----------------------------------------------------------------------
打开网页是这样的:
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.
在应用程序日志里有2个,一个红错误的是:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
一个黄警告的是:
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. 拒绝访问。
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly 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& 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)
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持
怎么办,怎么才可以运行这个网页(这个网页在我有VS2005的机器上运行调试是都可以的!)
----------------------------------------------------------------------
看看IIS是不是关了,如果开着就重新配置一下虚拟目录
--------------------------------------------------------
怎么看有没有关,怎么配置虚拟目录,我以前没弄过!
--------------------------------------------------------
服务器是2003,IIS是V6.0
--------------------------------------------------------
我也遇到这样的问题,那位高人指点一下啊!
--------------------------------------------------------
up
--------------------------------------------------------
搞定 虚拟目录指向的文件夹要加User组
--------------------------------------------------------
我是菜鸟,不知道我的回答是否多余!?
如果装过IIS,默认应该是打开的,除非改过服务。
去控制面板-〉性能和维护-〉管理工具-〉Internet信息服务
就可以看到了,还可以设置虚拟目录
解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且权限要设置为write & read.
----------------------------------------------------------------------
打开网页是这样的:
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.
在应用程序日志里有2个,一个红错误的是:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
一个黄警告的是:
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. 拒绝访问。
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly 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& 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)
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持
怎么办,怎么才可以运行这个网页(这个网页在我有VS2005的机器上运行调试是都可以的!)
----------------------------------------------------------------------
看看IIS是不是关了,如果开着就重新配置一下虚拟目录
--------------------------------------------------------
怎么看有没有关,怎么配置虚拟目录,我以前没弄过!
--------------------------------------------------------
服务器是2003,IIS是V6.0
--------------------------------------------------------
我也遇到这样的问题,那位高人指点一下啊!
--------------------------------------------------------
up
--------------------------------------------------------
搞定 虚拟目录指向的文件夹要加User组
--------------------------------------------------------
我是菜鸟,不知道我的回答是否多余!?
如果装过IIS,默认应该是打开的,除非改过服务。
去控制面板-〉性能和维护-〉管理工具-〉Internet信息服务
就可以看到了,还可以设置虚拟目录
解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且权限要设置为write & read.
您可能感兴趣的文章:
- Windows Server 2012 Iis8 php环境配置方法
- win2008下安装SQL SERVER 2005出现IIS功能要求 警告解决方案
- windows server 2008R2系统 IIS7.5配置伪静态的方法(urlrewrite)
- Windows server 2008 iis7/iis7.5启用父路径的方法
- Win2008 server + IIS7 设置身份模拟(ASP.NET impersonation)
- Tomcat6.0与windows 2003 server 的IIS服务器集成
- windows server 2008/2012安装php iis7 mysql环境搭建教程
- Windws Server 2008 R2 WEB环境配置之安装IIS方法
- Microsoft Windows 2008 Server R2 iis7.5上传文件限制200K更改
- Win2008 Server下IIS配置安装教程