Thursday, August 23, 2012

Hi,

Many of us have face following error while opening Configuration Manager for SQL Server. This error occurs in various versions of SQL server including 2005 and 2008 and 2008R2.

"Can not connect to WMI Provider. You do not have permission or the server is unreachable. Not that you can manage SQL Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041010]."

The reason behind this error is during installation of SQL Server some .mof files might not installed and registered properly.

To resolve this error follow below mentioned steps.

1. Open command prompt with Administrator mode.

2. Navigate to "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\" (If your system is running on 32 bit windows version, replace "Program Files(86)" with "Program Files".

3. Now type "mofcomp.exe sqlmgmproviderxpsp2up.mof" (without double quotes) and press enter.

The command should be successfully executed with following output on command window.

Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmprovider
xpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!


After this the configuration manager will open without any issue.

Courtesy : http://blogs.msdn.com/b/echarran/archive/2006/01/03/509061.aspx

Thanks and regards,
Chetan Ranpariya