手机
当前位置:查字典教程网 >编程开发 >asp.net教程 >SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
摘要:昨天在安装SQL2005RTM的时候碰到了这样一个错误:MicrosoftSQLServer2005Setup---------------...

昨天在安装SQL2005RTM的时候碰到了这样一个错误:

MicrosoftSQLServer2005Setup

------------------------------

TheSQLServerSystemConfigurationCheckercannotbeexecutedduetoWMIconfigurationonthemachineXXXXError:2147749896(0x80041008).

Forhelp,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次都没有碰到,而机器也是干净的,新安装的英文WindowsServer2003withlastestPatchs。错误信息里面的Link也没有提供任何可利用的信息。

从错误信息来看好像是WMI损坏了,于是Google一下,发现有一个解决方法:Re-installingWMI,里面提到是因为更新2K3最新补丁造成的这个错误:ThecauseofthiserrorisacorruptinstallofWMI,causedbyupgradingWindowsServer2003toSP1build1277,虽然他针对的是CTP版本。但是发现根本不能运行。

我的2K3是SP1build1447,仍然出现这个错误。

幸运的是终于找到了一个FixWMI的Script脚本,运行之后就好了:

FIXWMI.CMD

------------------------

@echoon

cd/dc:temp

ifnotexist%windir%system32wbemgotoTryInstall

cd/d%windir%system32wbem

netstopwinmgmt

winmgmt/kill

ifexistRep_bakrdRep_bak/s/q

renameRepositoryRep_bak

for%%iin(*.dll)doRegSvr32-s%%i

for%%iin(*.exe)docall:FixSrv%%i

for%%iin(*.mof,*.mfl)doMofcomp%%i

netstartwinmgmt

gotoEnd

:FixSrv

if/I(%1)==(wbemcntl.exe)gotoSkipSrv

if/I(%1)==(wbemtest.exe)gotoSkipSrv

if/I(%1)==(mofcomp.exe)gotoSkipSrv

%1/RegServer

:SkipSrv

gotoEnd

:TryInstall

ifnotexistwmicore.exegotoEnd

wmicore/s

netstartwinmgmt

:End

如果你碰巧也遇到了这个问题,不妨看看能否解决?

【SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to】相关文章:

asp.net UpdatePanel的简单用法

asp.net动态添加js文件调用到网页的方法

asp.net创建位图生成验证图片类

litjson读取数据示例

asp.net生成高质量缩略图通用函数(c#代码),支持多种生成方式

ASP.NET下使用WScript.Shell执行命令

ASP.NET Dictionary 的基本用法示例介绍

ASP.NET 2.0 URL映射技巧

ASP遗留的二十大积习

asp.net Split分割字符串的方法

精品推荐
分类导航