现在的位置: 首页 > 综合 > 正文

Server Application Unavailable –The web application you are attempting to access on this web server

2013年10月06日 ⁄ 综合 ⁄ 共 737字 ⁄ 字号 评论关闭

今天在部署一个ASP.NET 4.0 Web应用程序时,遇到下面一个很棘手的问题,出现下面的错误:

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.

翻译成中文:

服务器应用程序不可用
您试图在此 Web 服务器上访问的 Web 应用程序当前不可用。请点击 Web 浏览器中的“刷新”按钮重试您的请求。

管理员注意事项: 详述此特定请求失败原因的错误信息可在 Web 服务器的系统事件日志中找到。请检查此日志项以查明导致该错误发生的原因。

搜索了网上的大量资料,有三,如下:
1.重新开一个应用程序池,然后为这个目录单独指定这个池
2.访问权限的设置问题
3.重新装iis,再装framework

我的问题是属于第二个,访问权限的问题。做如下设置即可解决该问题:

在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IIs_WPG
Internet来宾帐户
System

设置后,一切运行正常.。

抱歉!评论已关闭.