找回密码
 注册
搜索
热搜: 超星 读书 找书
查看: 873|回复: 0

[【原创】] Server Application Unavailable 服务器应用程序不可用

[复制链接]
发表于 2007-10-25 15:41:10 | 显示全部楼层 |阅读模式
今天在部署一个ASP.NET 2.0 Web应用程序时,遇到下面一个很棘手的问题,出现下面的错误:

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

管理员注意事项: 详述此特定请求失败原因的错误信息可在 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.

搜索了网上的大量资料,该问题比较经典,出现错误也很多,但国内与国外的网站与论坛上却没有比较完善的解决方法。经过一番摸索与尝试,终于有了比较好的解决方法。有三,如下:
1.重新开一个应用程序池,然后为这个目录单独指定这个池
2.访问权限的设置问题
3.重新装iis,再装framework

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

在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IIs_WPG
Internet来宾帐户
System
而且ASP.NET权限要设置为 write & read.

设置后,一切运行正常.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|网上读书园地

GMT+8, 2024-9-22 13:38 , Processed in 0.092812 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表