XP安装IIS时提示“FailedtoaccessIISmetabase”解决办法

作者:小菜 更新时间:2025-01-17 点击数:
简介:前往IIS日志分析器专题 先装.net framework,后装IIS ,将导致问题: Failed to access IIS metabase ,无法浏览

【菜科解读】

前往IIS日志分析器专题

先装.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 administratorStart granting administrator access to the IIS metabase and other directories used by ASP.NET.Finished granting administrator access to the IIS metabase and other directoriesused by ASP.NET.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -lv2.0.50727.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -iStart installing ASP.NET (2.0.50727)...............Finished installing ASP.NET (2.0.50727).

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -lv2.0.50727.0 Valid (Root) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>iisreset /noforce

Attempting stop...Internet services successfully stoppedAttempting start...Internet services successfully restarted

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>

安装,IIS,时,提示,“,FailedtoaccessII
加入收藏
  • 账号登录
社交账号登录