经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 数据库/运维 » MS SQL Server » 查看文章
Cannot connect to WMI Provider & Invalid class [0x80041010]
来源:cnblogs  作者:潇湘隐者  时间:2018/12/26 9:44:33  对本文有异议

数据库服务器(Virtual Machine)所在的Nutanix一台主机由于故障,VM自动切换到另一台主机,切换过程中VM会重新启动,但是早上检查的时候,发现点击SQL Server Configuration Manager进去时报如下错误:

 

”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 [0x80041010]”

 

 

clip_image001

 

 

 

不清楚什么原因导致这个错误出现,但是"SQL Server Configuration Manager" gives "Invalid class [0x80041010]” when starting.这篇博客有提到如何解决这个问题,测试验证了一下,发现这个命令确能解决这个问题。如下所示:

 

  1. C:\Windows\system32>cd C:\Program Files (x86)\Microsoft SQL Server\100\Shared
  1.  
  1. C:\Program Files (x86)\Microsoft SQL Server\100\Shared>mofcomp sqlmgmproviderxps
  1. p2up.mof
  1. Microsoft (R) MOF Compiler Version 6.1.7600.16385
  1. Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
  1. Parsing MOF file: sqlmgmproviderxpsp2up.mof
  1. MOF file has been successfully parsed
  1. Storing data in the repository...
  1. Done!
  1.  
  1. C:\Program Files (x86)\Microsoft SQL Server\100\Shared>

 

 

clip_image002

 

 

另外,不同版本的SQL 数据库需要切换到到不同的目录,例如SQL Server 2014,需要切换到C:\Program Files (x86)\Microsoft SQL Server\120\Shared下面。一般需要根据具体情况酌情处理。

 

 

 

参考资料:

 

https://blogs.msdn.microsoft.com/spike/2012/03/19/sql-server-configuration-manager-gives-invalid-class-0x80041010-when-starting/

 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号