原因:
这种情况可能是由于被损坏的wmi库造成的
解决方法:
1、把以下代码复制存成.bat文件
net stop winmgmtc:cd %systemroot%/system32/wbemrd /S /Q repository
regsvr32 /s %systemroot%/system32/scecli.dllregsvr32 /s %systemroot%/system32/userenv.dll
mofcomp 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
这种情况可能是由于被损坏的wmi库造成的
解决方法:
1、把以下代码复制存成.bat文件
net stop winmgmtc:cd %systemroot%/system32/wbemrd /S /Q repository
regsvr32 /s %systemroot%/system32/scecli.dllregsvr32 /s %systemroot%/system32/userenv.dll
mofcomp 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
2、运行后重启,重新安装IIS中的ASP,正常运行!
http://blog.csdn.net/heavensdoor/article/details/7788348