廣告:
環(huán)境:asp.net mvc2.0 asp.net 3.5 sp1
xp系統(tǒng)iis運行網(wǎng)站提示: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. asp.net環(huán)境沒有注冊好,原因先裝asp.net后裝iis:
可參照如下步驟重新注冊asp.net
開始--運行--cmd
粘貼以下兩個命令先后運行:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ua
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
-ua為刪除注冊 -i為重新注冊
如果提示安裝成功,進入iis--默認網(wǎng)站--啟動網(wǎng)站(安裝后會停止IIS)即可瀏覽。
如果提示重新注冊失敗,請在控制面板刪除asp.net 2.0和asp.net 3.5相關(guān)組件,再重新安裝asp.net 3.5 sp1.
2. 網(wǎng)站停止了,請在iis里面啟動網(wǎng)站(一般為端口占用)
3. 網(wǎng)站目錄沒有設(shè)置權(quán)限,請?zhí)砑?networkservice和iis_user權(quán)限
廣告: