首页 > 代码库 > The web application you are attempting to access on this web server is currently unavailable.......

The web application you are attempting to access on this web server is currently unavailable.......

今天去服务器安装了个.net 4.0 framework(原本有1.0和2.0的),配置好站点后,选择版本为4.0,访问出错,错误代码如下

 

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.

 

 

经过搜来搜去,终于解决了,

总结如下:

出现服务不可用错误,最常规的办法是

1.查看IIS中的.net版本选择是否争取

2.如果版本不同,需要单独为增加一个应用程序池,具体原因是IIS 应用程序隔离机制造成的,可以百度搜素下。

3.如果以上都不没有错误的话,看看站点文件夹是否增加了User用户组(我的错误就是这个);

常见就这几种情况,其他的要具体在分析了。(转)