SQL Server + RTM installation Error

Source: Internet
Author: User
Tags goto microsoft sql server
server| Error

I ran into a mistake yesterday when I installed SQL--

Title:microsoft SQL Server the Setup
------------------------------

The SQL Server System Configuration Checker cannot is executed due to WMI Configuration on the machine XXXX (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
------------------------------

Previously installed n times are not encountered, and the machine is also clean, the newly installed English Windows Server 2003 with lastest Patchs. Link in the error message does not provide any available information.

As if WMI was corrupted from the error message, Google found a workaround: re-installing WMI, which mentions the error caused by updating 2k3 latest patches: The cause of this error is a corrupt Install of WMI, caused by upgrading Windows Server 2003 to SP1 build 1277, although he is for the CTP version. But the discovery is not working at all.

My 2k3 is SP1 build 1447, and this error still occurs.

Luckily, I finally found a script to fix WMI, and after that it was done:

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

If you happen to have this problem, see if you can solve it?



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.