XP安装IIS时提示 “Failed to access IIS metabase”解决办法

时间:2023-03-26 15:18:17 来源:爱钻网 编辑:tkgame 浏览:

先装.NET Framework,后装iis ,将导致问题:“Failed to access IIS metabase”,无法浏览页面。

原因:IIS没有注册

解决办法:

在CMD中进入目录C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,运行aspnet_regiis

1、aspnet_regiis -ga administrator(administrator为当前用户)

2、aspnet_regiis -i (注册IIS)

3、iisreset /noforce (重启IIS)

操作详细:

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>

声明:优质手游攻略创作不易,来源:爱钻网。转载务必注明出处:http://www.aizuanapp.com/article/15685.html

① 扫二维码或添加微信号:sjyou_com 关注"爱钻网"

② 领取游戏礼包、手游攻略、新游推荐、游戏陪玩、原创测评

③ 赶紧扫一扫添加吧,Get手游技巧~

评论