Microsoft SQL Server, Microsoft Windows

How do I fix “Cannot connect to WMI Provider” error?

Error Message:

Cannot connect to WMI provider. You do not have permission or the server is unreachable.
Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager.
Invalid Namespace.

This error is caused when the .mof files are damaged during the MS SQL Server 2005 installation.

This error typically occurs when trying to run the MS SQL 2005 Configuration Manager.

  1. Open command line, cmd.
  2. Change to the directory x:Program FilesMicrosoft SQL Server90Shared
  3. Type mofcomp “C:Program FilesMicrosoft SQL Server90Sharedsqlmgmproviderxpsp2up.mof” and press enter.