服務熱線
153 8323 9821
今天在部署一個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
設置后,一切運行正常.。