Server Application Unavailable 的问题解决了
2007-02-10 10:48
330 查看
一直以为IIS的错误信息就在网站log里,看了半天也看不出个什么来。后来忽然醒悟:“Can be found in the application event log of the web server",于是打开了windows的事件查看器,在程序日志里,发现了这样的提示:
事件类型: 警告
事件来源: ASP.NET 2.0.50727.0
事件种类: 无
事件 ID: 1073
日期: 2007-2-10
事件: 10:05:25
用户: N/A
计算机: CNTQ-1
描述:
Failed to initialize the AppDomain:/LM/W3SVC/214077270/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 的帮助和支持中心。
事件类型: 错误
事件来源: ASP.NET 2.0.50727.0
事件种类: 无
事件 ID: 1088
日期: 2007-2-10
事件: 10:05:25
用户: N/A
计算机: CNTQ-1
描述:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
有了具体的错误信息就好办多了,因为我们有伟大的互连网啊,而且,互连网上有google等这样伟大的搜索引擎啊,问题是这样解决的:
解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且权限要设置为write & read.
设置后,一切运行正常.
Server Application Unavailable是一个太笼统的错误提示了,有n多的原因可以引起Application Unavailable,所以,找到具体的错误信息才是解决问题的关键!
事件类型: 警告
事件来源: ASP.NET 2.0.50727.0
事件种类: 无
事件 ID: 1073
日期: 2007-2-10
事件: 10:05:25
用户: N/A
计算机: CNTQ-1
描述:
Failed to initialize the AppDomain:/LM/W3SVC/214077270/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 的帮助和支持中心。
事件类型: 错误
事件来源: ASP.NET 2.0.50727.0
事件种类: 无
事件 ID: 1088
日期: 2007-2-10
事件: 10:05:25
用户: N/A
计算机: CNTQ-1
描述:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
有了具体的错误信息就好办多了,因为我们有伟大的互连网啊,而且,互连网上有google等这样伟大的搜索引擎啊,问题是这样解决的:
解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且权限要设置为write & read.
设置后,一切运行正常.
Server Application Unavailable是一个太笼统的错误提示了,有n多的原因可以引起Application Unavailable,所以,找到具体的错误信息才是解决问题的关键!
相关文章推荐
- 解决 web服务器部署常见问题,server application unavailable 和 程序无法连接数据库 的问题(asp.net 2.0 + oracle9i + winXP)
- 关于IIS的server application unavailable问题解决方法
- ASP.NET 应用程序遭遇Server Application Unavailable问题的解决办法
- 解决:“Server Application Unavailable (服务器应用程序不可用) ” 问题
- 解决 web服务器部署常见问题,server application unavailable 和 程序无法连接数据库 的问题(asp.net 2.0 + oracle9i + winXP)
- 虚拟主机常见问题:asp.net出现Server Application Unavailable解决
- 解决IIS出现server application unavailable问题的方法
- 解决Server Application Unavailable问题
- IIS6.0部署MVC3--解决(您无权查看该网页403错误)(Server Application Unavailable)问题
- Server Application Unavailable 的解决方法
- IIS Server Application Unavailable 解决方法
- WebSphere Application Server 更新web.xml的问题以解决有些应用在tomcat环境下可以跑,更新到was上失效的问题
- ASP.NET "Server Application Unavailable"错误解决
- Server Application Unavailable解决方法
- server application unavailable IIS应用程序池 错误解决办法
- web无法访问 Server Application Unavailable IIS问题
- Server Application Unavailable 错误解决办法
- IIS Server Application Unavailable 解决方法
- 解决上线web项目部署WebSphere Application Server下面乱码问题
- IIS application server error 的问题及解决办法