Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Unanswered Cannot connect to WMI Provider

  • Thursday, January 14, 2010 8:32 PM
     
     
    After setting up Central Management Server (SQL2008) on my local machine (vista 32bit) and registering 2 SQL2005 (32bit) instances on a windows 2003 (32bit) server sp2 standard, I get the following then accessing SQL Server Configuration Manager on both SQL2005 instances. 

    "Cannot connect to WMI provider.  You do not have permission or the server is unreachable.... Invalid namespace [0x8004100e]"

    I've tried the following with no luck:

    - My domain login is in the Administrators group on both local and server
    - Set namespace and subnamespace security via the WMI Control
    - I can remotely access the WMI Control on the server and set properties and look at the version
    - Recompiled on both local and server - mofcomp "%programfiles%\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    - Recompiled on both local and server - mofcomp "%programfiles%\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

    I can't seen to find a solution.  Please help.

All Replies

  • Wednesday, June 16, 2010 1:17 PM
     
     
    Have you installed the service packs for your SQL Server ?
  • Monday, July 12, 2010 3:34 PM
     
     

    I am not sure if this is a search server 2008 related issue, May be that's why no response.


    MCP & MCTS [WSS 3.0/MOSS] Visit: http://yagyashree.wordpress.com/
  • Wednesday, September 29, 2010 9:51 AM
     
     

    After setting up Central Management Server (SQL2008) on my local machine (vista 32bit) and registering 2 SQL2005 (32bit) instances on a windows 2003 (32bit) server sp2 standard, I get the following then accessing SQL Server Configuration Manager on both SQL2005 instances. 

    "Cannot connect to WMI provider.  You do not have permission or the server is unreachable.... Invalid namespace [0x8004100e]"

    I've tried the following with no luck:

    - My domain login is in the Administrators group on both local and server
    - Set namespace and subnamespace security via the WMI Control
    - I can remotely access the WMI Control on the server and set properties and look at the version
    - Recompiled on both local and server - mofcomp "%programfiles%\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    - Recompiled on both local and server - mofcomp "%programfiles%\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

    I can't seen to find a solution.  Please help.

    Hi,

    I am facing with this similar problem and had tried this solution that I got :

     

    The solution is to go to a command prompt and then run mofcomp.

    C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"

     

    But  I'm still failed to run it and the error on the cmd is :

    C:\>mofcomp
    'mofcomp' is not recognized as an internal or external command,
    operable program or batch file.

    C:\>

     

    Appreciate if someone can help me on this ..


  • Wednesday, October 20, 2010 5:28 PM
     
     

    I actually found the mofcomp.exe in C:\Windows\system32\wbem folder.  However, running the above command in my computer didn't help and I still have the same problem.