国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > .NET > 正文

SQL Server 2005 RTM 安裝錯誤 :The SQL Server System Configuration Checker cannot be executed due to

2020-01-18 01:46:37
字體:
來源:轉載
供稿:網友
昨天在安裝SQL 2005 RTM的時候碰到了這樣一個錯誤:
Microsoft SQL Server 2005 Setup
------------------------------ 
The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine XXXX Error:2147749896 (0x80041008). 
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=70342
------------------------------
BUTTONS:
OK
------------------------------
之前安裝了N次都沒有碰到,而機器也是干凈的,新安裝的英文Windows Server 2003 with lastest Patchs。錯誤信息里面的Link也沒有提供任何可利用的信息。
從錯誤信息來看好像是WMI損壞了,于是Google一下,發現有一個解決方法:Re-installing WMI ,里面提到是因為更新2K3最新補丁造成的這個錯誤:The cause of this error is a corrupt install of WMI, caused by upgrading Windows Server 2003 to SP1 build 1277,雖然他針對的是CTP版本。但是發現根本不能運行。
我的2K3是SP1 build 1447,仍然出現這個錯誤。
幸運的是終于找到了一個Fix WMI的Script腳本,運行之后就好了:
FIXWMI.CMD 
------------------------ 

@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 

如果你碰巧也遇到了這個問題,不妨看看能否解決?
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 台南市| 吉隆县| 靖西县| 株洲市| 广南县| 淅川县| 霍城县| 屏东县| 南宁市| 田林县| 上思县| 会昌县| 象山县| 平陆县| 西盟| 吴堡县| 新田县| 上虞市| 奇台县| 政和县| 冕宁县| 营口市| 鄢陵县| 黄山市| 东辽县| 资源县| 陆河县| 岳阳县| 黄冈市| 定远县| 峨边| 蓬安县| 丹阳市| 龙江县| 垫江县| 阿鲁科尔沁旗| 敦煌市| 北辰区| 乌拉特中旗| 宁乡县| 巴林右旗|