ITPub博客

首页 > 数据库 > SQL Server > SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

原创 SQL Server 作者:kitesky 时间:2011-11-22 16:38:30 0 删除 编辑

1. Disable UAC;

2. Excute mofcomp.exe "C:Program Files (x86)Microsoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof"

[@more@]If you run into any compilation error like - An error occurred while processing item 1 defined on lines 4 - 7 in file C:Prog
ram Files (x86)Microsoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof:
0X80041002 Class, instance, or property 'Name' was not found.
Compiler returned error 0x80041002

follow the below steps.

1. Stop WMI service
2. Navigate to the folder “C:WindowsSystem32wbem” and rename the repository folder to repository_old
3. Rerun the same cmd again
C:Program FilesMicrosoft SQL Server100Shared>mofcomp "C:Program FilesMicrosoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof"

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66009/viewspace-1056465/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-04-22

  • 博文量
    273
  • 访问量
    2225402