綠色資源網(wǎng):您身邊最放心的安全下載站! 最新軟件|熱門排行|軟件分類|軟件專題|廠商大全

綠色資源網(wǎng)

技術(shù)教程
您的位置:首頁(yè)服務(wù)器類Web服務(wù)器 → XP安裝IIS時(shí)提示 “Failed to access IIS metabase”解決辦法

XP安裝IIS時(shí)提示 “Failed to access IIS metabase”解決辦法

我要評(píng)論 2011/08/28 20:53:44 來(lái)源:綠色資源網(wǎng) 編輯:downcc.com [ ] 評(píng)論:0 點(diǎn)擊:324次

先裝.NET Framework,后裝IIS ,將導(dǎo)致問(wèn)題:“Failed to access IIS metabase”,無(wú)法瀏覽頁(yè)面。

原因:IIS沒(méi)有注冊(cè)

解決辦法:

在CMD中進(jìn)入目錄C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,運(yùn)行aspnet_regiis

1、aspnet_regiis -ga administrator(administrator為當(dāng)前用戶)

2、aspnet_regiis -i (注冊(cè)IIS)

3、iisreset /noforce (重啟IIS)

操作詳細(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>

關(guān)鍵詞:XP,IIS,Failed,access,metabase

閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!

  • 1 歡迎喜歡
  • 1 白癡
  • 1 拜托
  • 1 哇
  • 1 加油
  • 1 鄙視