客服首页>主机问题>正文

Asp.net空间出现Server Application Unavailable错误的原因和解决方法

问题表现:
最近我们发现有一部分Asp.net虚拟主机用户网站在访问中反复出现“Server Application Unavailable”的错误提示。


详细出错信息:

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.


原因分析:
.net Framework 2.0的程序与.net Framework1.1(或1.0)的程序被放入同一个应用程序池,也就是由同一个工作进程: w3wp.exe 进行管理,而单个工作进程是无法同时管理不同的程序(或者不同版本的程序)的。如果先访问.net framework 1.1的页面,则工作进程先加载并管理了 1.1版本的程序集,此时访问.net framework 2.0的web程序页面,Server Application Unavailable 错误就出来了。反之,如果在默认应用程序池的w3wp.exe尚未启动前先访问了 2.0的web程序(此时应用程序集已经加载了.net framework2.0的Web程序集),再访问1.1或1.0的Web程序页面时,同样会出现“服务器应用程序不可用”这样的错误提示。


解决方法:
只需要把1.1和2.0版本的程序分开进程池放置就可以解决这个问题。

请出现上述错误信息的用户联系客服,我们将为您更换进程池。


天宇在线Asp.net虚拟主机支持asp.net1.1和2.0,最近兼容asp.net3.5版本,且支持自助更换.net版本,堪称业内最专业的asp.net空间


上一篇:没有了
下一篇:HTTP500内部服务器错误的原因和解决方法