Cannot connect to WMI provider 0x8004100.

本文介绍了解决SQL Server Management Studio无法连接WMI提供者的问题。通过重新编译sqlmgmproviderxpsp2up.mof文件,成功解决了由于EMC SAN问题导致的SQL Server配置管理器无法使用的情况。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Cannot connect to WMI provider 0x8004100.


Applies to: Microsoft Windows Server 2008 R2, Microsoft SQL Server 2008 Standard Edition x64, Hyper-V

Problem Description.

All of a sudden a few Hyper-V servers were not able to access storage located on a EMC SAN. Once the issue with the SAN was solved, I found I was not able to open SQL Server Management Studio (SSMS) on a SQL Server 2008 instance. I was receiving the following error message whenever I tried to open SSMS:
Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.
Invalid class [0x8004100]
Cannot connect to WMI provider 0x8004100. - Judi - MyTrajectory

Cause.
The following article provides a reason for a similar error [0x8004100e]: KB956013.
It seems the sqlmgmproviderxpsp2up.mof was damaged during the issues with the SAN.


Solution.

I opened the Command prompt and navigated to the C:\Program Files <x86>\Microsoft SQL Server\100\Shared folder. There I ran the following command:
mofcomp sqlmgmproviderxpsp2up.mof
Cannot connect to WMI provider 0x8004100. - Judi - MyTrajectory

This solved the problem openning SSMS.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值