XP安裝(zhuāng)IIS時提示(shì) “Failed to access IIS metabase”解決辦法
先裝.NET Framework,後裝IIS ,將導致問題:“Failed to access IIS metabase”,無法(fǎ)瀏覽頁麵。
原因:IIS沒有注冊(cè)
解決辦法:
在(zài)CMD中(zhōng)進入(rù)目錄C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,運行aspnet_regiis
1、aspnet_regiis -ga administrator(administrator為當前用戶(hù))
2、aspnet_regiis -i (注冊IIS)
3、iisreset /noforce (重啟IIS)
操作(zuò)詳細(xì):
C:\Documents and Settings\Administrator>cd c:\\windows\\microsoft.net\\framework\\v2.0.50727
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga administrator
Start granting administrator access to the IIS metabase and other directories us
ed by ASP.NET.
Finished granting administrator access to the IIS metabase and other directories
used by ASP.NET.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -lv
2.0.50727.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\as
pnet_isapi.dll
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
Start installing ASP.NET (2.0.50727).
..............
Finished installing ASP.NET (2.0.50727).
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -lv
2.0.50727.0 Valid (Root) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\as
pnet_isapi.dll
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>iisreset /noforce
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>
關鍵詞(cí):XP,IIS,Failed,access,metabase
閱讀本文後您有什麽感想? 已(yǐ)有 人給出(chū)評價!
- 1
- 1
- 1
- 1
- 1
- 1