关于 WMI Provider 不能连接的错误 - Cannot connect to WMI provider. You do not have permission or the server is unreachable.
2013-01-06 17:47 BIWORK 阅读(2119) 评论(0) 编辑 收藏 举报原本在电脑上装过 SQL Server 2008 R2, 后来升级到了 SQL Server 2012, 有时因为需要使用2008 也有时需要使用 2012, 每次打开 Configuration Manager 时就会出现这个错误:
When opening SQL Server Configuration Manager, seeing this error below:

方法是如果是 2008 R2 的 Configuration Manager 打不开对应的应该找 100 的版本, 如果是 2012 的Configuration Manager 打不开就应该进入 110的目录
我目前是打开 2008 R2 所以进入到 100 的目录, 并且 CMD 最好使用 右键 - 以管理员身份运行
Solution, go the folder "C:\Program Files (x86)\Microsoft SQL Server\100\Shared" and run this command as an Administrator

进入指定目录, 运行以下命令:
mofcomp sqlmgmproviderxpsp2up.mof
DONE!