解决win7安装IIS“并非所有功能被成功更改”

 时间:2024-11-04 12:23:54

1、运行CMD,进入DOS命令输入C:\Windows\Microsoft.NET\Framework\v4.0.30319输入aspnet_regiis -i

2、如果出错会提示查看安装日志C:\Documents and Settings\Administrator\AppData\Local\ASPNETSetup_XXXXX.log

3、我的出现了 2015-01-25 23:37:53 Failure Installing WMI file:aspnet.mof: InstallMOF failed with HRESULT 80004005: '未指定的错误 '这种情况可能是由于被损坏的wmi库造成的

4、在网上找到一个重建WMI库的批处理http://blog.csdn.net/xuxc/article/details/2230277把以下代码复制存成.bat文件net stop winmgmtc:cd %systemroot%/system32/wbemrd /S /Q repositoryregsvr32 /s %systemroot%/system32/scecli.dllregsvr32 /s %systemroot%/system32/userenv.dllmofcomp cimwin32.mofmofcomp cimwin32.mflmofcomp rsop.mofmofcomp rsop.mflfor /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%sfor /f %%s in ('dir /b *.mof') do mofcomp %%sfor /f %%s in ('dir /b *.mfl') do mofcomp %%secho DONE rebootpause

5、运行后重启,重新安装IIS中的ASP,正常运行!

  • 如何以安全方式启动Excel
  • Access 2016的账户配置
  • 360浏览器如何修改主页?
  • wincc flexible文本列表组态之符合IO域的设置
  • 如何给二手服务器安装水冷?
  • 热门搜索
    cum是什么意思 常常的近义词是什么 2019是什么年 时间是什么 温柔的反义词是什么 什么是个体工商户 橘红色配什么颜色好看 84年属什么生肖 凡尔赛什么梗 什么是越位