微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

装SQLServer遇到的错误Error:2147749907,Error:2147749896

错误一:

由于计算机PC-20110928104 Error:2147749907(0X80041013)上得WMI配置,无法执行sql Server系统配置检查器


解答:
sql Server的电脑,计算机名中是不允许有“-”这一类特殊符号的,你的计算机名是PC-20110928104 ,你改一下计算机的名称,改成PC20110928104 就可以了的。

错误二: 

       由于计算机 本机计算机名 Error:2147749896 (0x80041008) 上的 WMI 配置,无法执行 sql Server系统配置检查器。


解答:
       按完'确定'按钮后,安装程序终止执行。 

       可用以下方法解决

       在DOS中执行含有以下脚本

@echo on cd /d c:\temp if not exist %windir%\system32\wbem goto TryInstall cd /d %windir%\system32\wbem net stop winmgmt winmgmt /kill if exist Rep_bak rd Rep_bak /s /q rename Repository Rep_bak for %%i in (*.dll) do RegSvr32 -s %%i for %%i in (*.exe) do call :FixSrv %%i for %%i in (*.mof,*.mfl) do Mofcomp %%i net start winmgmt goto End

:FixSrv if /I (%1) == (wbemcntl.exe) goto SkipSrv if /I (%1) == (wbemtest.exe) goto SkipSrv if /I (%1) == (mofcomp.exe) goto SkipSrv %1 /RegServer

:SkipSrv goto End

:TryInstall if not exist wmicore.exe goto End wmicore /s net start winmgmt :End

命名为FIXWMI.CMD的文件

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐