手机
当前位置:查字典教程网 >编程开发 >asp.net教程 >发布WEB站点时出现Server Application Unavailable
发布WEB站点时出现Server Application Unavailable
摘要:我是参考这个弄好的http://www.cublog.cn/u/8180/showart_171293.htmlServerApplicat...

我是参考这个弄好的http://www.cublog.cn/u/8180/showart_171293.html

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)的程序被放入同一个应用程序池(默认情况下放入DefaultAppPool池),也就是由同一个工作进程: 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程序页面时,同样会出现“服务器应用程序不可用” 这样的中文提示。(您可以结束掉以前的w3wp.exe进行测试。)

解决办法: 在IIS中新建一个应用程序池,然后选中你的 基于.net framework2.0的虚拟目录,点“属性”-》在“应用程序池” 中选择刚才新建的的应用程序池,点击“确定”。

【发布WEB站点时出现Server Application Unavailable】相关文章:

iframe跨域与session失效问题的解决办法

asp.net Reporting Service在Web Application中的应用

ASP.NET 保留文件夹详解

ASP.NET 数据访问类

SQL Server 2005安装过程中出现错误的解决办法

wireshark抓取本地回环数据包和取出数据的方法

.NET 2.0获取配置文件AppSettings和ConnectionStrings节数据的方法

ASP.NET内置对象之Application对象

ASP.NET 多次提交的解决办法2

asp.net button 绑定多个参数

精品推荐
分类导航