SQL Server 2005 RTM 安裝錯(cuò)誤 :The SQL Server System Configuration Checker cannot be executed due to
更新時(shí)間:2007年02月12日 00:00:00 作者:
昨天在安裝SQL 2005 RTM的時(shí)候碰到了這樣一個(gè)錯(cuò)誤:
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次都沒有碰到,而機(jī)器也是干凈的,新安裝的英文Windows Server 2003 with lastest Patchs。錯(cuò)誤信息里面的Link也沒有提供任何可利用的信息。
從錯(cuò)誤信息來看好像是WMI損壞了,于是Google一下,發(fā)現(xiàn)有一個(gè)解決方法:Re-installing WMI ,里面提到是因?yàn)楦?K3最新補(bǔ)丁造成的這個(gè)錯(cuò)誤:The cause of this error is a corrupt install of WMI, caused by upgrading Windows Server 2003 to SP1 build 1277,雖然他針對的是CTP版本。但是發(fā)現(xiàn)根本不能運(yùn)行。
我的2K3是SP1 build 1447,仍然出現(xiàn)這個(gè)錯(cuò)誤。
幸運(yùn)的是終于找到了一個(gè)Fix WMI的Script腳本,運(yùn)行之后就好了:
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
如果你碰巧也遇到了這個(gè)問題,不妨看看能否解決?
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次都沒有碰到,而機(jī)器也是干凈的,新安裝的英文Windows Server 2003 with lastest Patchs。錯(cuò)誤信息里面的Link也沒有提供任何可利用的信息。
從錯(cuò)誤信息來看好像是WMI損壞了,于是Google一下,發(fā)現(xiàn)有一個(gè)解決方法:Re-installing WMI ,里面提到是因?yàn)楦?K3最新補(bǔ)丁造成的這個(gè)錯(cuò)誤:The cause of this error is a corrupt install of WMI, caused by upgrading Windows Server 2003 to SP1 build 1277,雖然他針對的是CTP版本。但是發(fā)現(xiàn)根本不能運(yùn)行。
我的2K3是SP1 build 1447,仍然出現(xiàn)這個(gè)錯(cuò)誤。
幸運(yùn)的是終于找到了一個(gè)Fix WMI的Script腳本,運(yùn)行之后就好了:
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
如果你碰巧也遇到了這個(gè)問題,不妨看看能否解決?
您可能感興趣的文章:
- Sql Server安裝出錯(cuò),安裝程序配置服務(wù)器失敗的解決方法小結(jié)
- Sqlserver 2005附加數(shù)據(jù)庫時(shí)出錯(cuò)提示操作系統(tǒng)錯(cuò)誤5(拒絕訪問)錯(cuò)誤5120的解決辦法
- SQL Server 2005/2008 導(dǎo)入導(dǎo)出數(shù)據(jù)常見報(bào)錯(cuò)解決方法
- win2008下安裝SQL SERVER 2005出現(xiàn)IIS功能要求 警告解決方案
- SQLServer2005安裝提示服務(wù)無法啟動(dòng)原因分析及解決
- SQL Server 2005“備份集中的數(shù)據(jù)庫備份與現(xiàn)有的數(shù)據(jù)庫不同”解決方法
- SQL Server 2005安裝過程中出現(xiàn)錯(cuò)誤的解決辦法
- 無法在com+ 目錄中安裝和配置程序集 錯(cuò)誤:-2146233087的解決方法[已測]
- SQL Server 2005 安裝遇到的錯(cuò)誤提示和解決方法
相關(guān)文章
ASP.NET系統(tǒng)關(guān)鍵字及保留字列表整理
ASP.NET系統(tǒng)關(guān)鍵字及保留字列表,大家在寫程序的時(shí)候一定要避免使用,免得引起不需要的麻煩2012-10-10WPF框架Prism中ViewModelLocator用法介紹
這篇文章介紹了WPF框架Prism中ViewModelLocator的用法,對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2022-02-02SQL Server 2005安裝過程中出現(xiàn)錯(cuò)誤的解決辦法
SQL Server 2005安裝過程中出現(xiàn)錯(cuò)誤的解決辦法...2007-02-02Blazor實(shí)現(xiàn)數(shù)據(jù)驗(yàn)證
這篇文章介紹了Blazor實(shí)現(xiàn)數(shù)據(jù)驗(yàn)證的方式,對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2022-01-01