windows SQL 2005 安装上的 WMI 配置错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/593464/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 12:03:49  来源:igfitidea点击:

WMI Configuration Error on SQL 2005 install

sql-serverwindowsinstallation

提问by Shawn Swaner

SQL Server 2005 is giving me the following error during the "System Check" portion of the initial install: "The SQL Server Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147749907 (0x80041013)."

SQL Server 2005 在初始安装的“系统检查”部分给我以下错误:“由于机器上的 WMI 配置错误:2147749907 (0x80041013),无法执行 SQL Server 配置检查器。”

Machine is a Dell D620 running XP SP2.

机器是运行 XP SP2 的戴尔 D620。

I found a batch command online that is supposed to fix the problem, but it didn't work.

我在网上找到了一个应该可以解决问题的批处理命令,但是没有用。

Any ideas?

有任何想法吗?

回答by Shawn Swaner

Manju Madhavan on my team finally found the answer:

我团队的 Manju Madhavan 终于找到了答案:

rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf

The setup asked for long list of files that I had to search around to find. Some were in the i386 folder on the XP SP3 disk, some in %windir%/system32. As the installer would stop and ask for a file I would search around until I found a copy.

设置要求我必须四处搜索才能找到的一长串文件。有些在 XP SP3 磁盘上的 i386 文件夹中,有些在 %windir%/system32 中。由于安装程序会停止并要求提供文件,我会四处搜索,直到找到副本。

Manju found the answer online and documents it on her blog.

曼珠在网上找到了答案,并记录在她的博客上

回答by Souptik

  1. Run
  2. type or copy paste rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
  3. Connect your Windows XP SP3 CD
  4. Find out "i386" folder and click enter and it will copy some file from there and will ask for a .moffile.
  5. Search for the .moffile in where you installed Windows
  6. Copy the location of that file and click OK.
  1. 输入或复制粘贴 rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
  2. 连接您的 Windows XP SP3 CD
  3. 找出“i386”文件夹并点击回车,它会从那里复制一些文件,并会要求一个.mof文件。
  4. .mof在安装 Windows 的位置搜索文件
  5. 复制该文件的位置,然后单击“确定”。

Start installing the SQL Server 2005 and I'm sure you will face no more problems.

开始安装 SQL Server 2005,我相信您不会再遇到任何问题。

回答by daniloquio

I don't know what script did you find, but the one I ran worked like a charm. I'm putting here this answer for the ones that got to this post looking for that error message like I did.

我不知道你找到了什么脚本,但我运行的那个脚本非常有用。我把这个答案放在这里,是为了那些像我一样在这篇文章中寻找错误信息的人。

Just execute this.batfile.

只需执行这个.bat文件。

Source:Pinal Dave's SQL Authority Blog

来源:Pinal Dave 的 SQL 权威博客

回答by John Sansom

Are you running Microsoft Operations Manager on your server?

您是否在服务器上运行 Microsoft Operations Manager?

May I suggest disabling any services that utilise the WMI interface, so any performance monitoring software you are using, just whilst you install SQL Server.

我可以建议禁用任何使用 WMI 接口的服务,以便在安装 SQL Server 时禁用您正在使用的任何性能监控软件。

Cheers, John

干杯,约翰