zoukankan      html  css  js  c++  java
  • Cannot connect to WMI Provider & Invalid class [0x80041010]

    数据库服务器(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.这篇博客有提到如何解决这个问题,测试验证了一下,发现这个命令确能解决这个问题。如下所示:

     

    C:Windowssystem32>cd C:Program Files (x86)Microsoft SQL Server100Shared
     
    C:Program Files (x86)Microsoft SQL Server100Shared>mofcomp sqlmgmproviderxpsp2up.mof
    Microsoft (R) MOF Compiler Version 6.1.7600.16385
    Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
    Parsing MOF file: sqlmgmproviderxpsp2up.mof
    MOF file has been successfully parsed
    Storing data in the repository...
    Done!
     
    C:Program Files (x86)Microsoft SQL Server100Shared>

     

    clip_image002

     

     

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

     

     

     

    参考资料:

     

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

  • 相关阅读:
    HTML页面之间跳转传值
    Ajax之三种数据传输格式
    css选择器
    jQuery Validate
    正则表达式
    JSP的九大内置对象,七大动作指令,四个作用域,三个编译指令
    Zooeeper之paxos算法
    ZooKeeper之选举(fastleaderelection算法)
    ZooKeeper之ZAB协议
    ZooKeeper之三阶段提交(3PC)
  • 原文地址:https://www.cnblogs.com/kerrycode/p/10172578.html
Copyright © 2011-2022 走看看