安裝數(shù)據(jù)服務(wù)SQL2005出錯的問題解決方案
安裝SQL2005時,彈出以下提示:
錯誤提示一:由于計算機上的WMI配置,無法執(zhí)行Sql Server 系統(tǒng)配置檢查器。(下圖所示)
解決方法:
先建立一個文件名,文件名可以隨意取,后綴名為CMD
如:建議一個文件名為WMI.CMD文件
文件內(nèi)容如下:
@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
運行WMI.CMD,等運行完成就可以了。
錯誤提示二:不能訪問windows installer 服務(wù),可能是你在安全模式下運行Windows,或者是windows installe沒有正確地安裝。請和你的支持人員聯(lián)系以獲得幫助
解決方法:
1、將以上文字復制到NOTEPAD中,存為installer.reg文件,執(zhí)行。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\MSIServer]
"ImagePath"=-
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\\
00,73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\\
56,00,00,00
2、重新啟動機器至按F8到安全模式,開始運行,打cmd
3、輸入:msiexec /regserver
重新啟動,問題解決。
如解決不了,請聯(lián)系三易通進銷存軟件|服裝銷售管理軟件官網(wǎng)m.peichai.com.cn幫您提供幫助。