none
distmgr.log showing error CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e RRS feed

  • Question

  • I'm seeing this in the distrmgr.log on our primary server. If I try to update packages on this dp, it says install retrying in the console.  Win2008 R2 x64 with SCCM 2007 SP2.  Thanks in advance\\["Display=\\priserver\"]MSWNET:["SMS_SITE=abc"]\\priserver\\root\MicrosoftIISv2. error = The operation completed successfully.. Will try FQDN SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898)Translated server name priserver.FLHOSP.NET to FLHOSP.NET\priserver. SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898)CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898) 

    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898)CWmi::Connect() could not connect to

    CWmi::Connect() failed to connect to \\priserver\root\MicrosoftIISv2. error = IDispatch error #3598 SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898)

    ERROR DPConnection::ConnectWMI() - Failed to connect to priserver. error = 0x8004100e SMS_DISTRIBUTION_MANAGER 4/1/2010 6:37:00 PM 18584 (0x4898)

    • Edited by gatorcb Thursday, April 1, 2010 10:49 PM cutoff
    Thursday, April 1, 2010 10:47 PM

Answers

  • Most likely you havent installed the IIS 6 Metabase compatibility feature and more importantly IIS 6 WMI compatiblity feature along with IIS. Run server manager and as part of IIS feature list select the above two features and install it.

    Let me know if you have those features installed.

    Thanks,

    Bhaskar

     

    Thursday, April 1, 2010 11:19 PM
    Moderator

All replies

  • Most likely you havent installed the IIS 6 Metabase compatibility feature and more importantly IIS 6 WMI compatiblity feature along with IIS. Run server manager and as part of IIS feature list select the above two features and install it.

    Let me know if you have those features installed.

    Thanks,

    Bhaskar

     

    Thursday, April 1, 2010 11:19 PM
    Moderator
  • I missed the IIS 6 WMI...I added it.  Do I need to restart the server?
    Friday, April 2, 2010 12:05 AM
  • The wizard usually tells you if you have to restart the server ...

    Friday, April 2, 2010 7:03 AM
    Moderator
  • Excellent post... I missed the WMI also.  Immediately fixed my issue.  Thanks Gents!
    Tuesday, February 1, 2011 5:11 PM
  • I too would like to offer thanks!  That has solved the problem that I was having with packages being distributed but not unpacked on some but not all of my servers.

    I and my minions can get on with oppressing users now :)

    Mike Walter

    Thursday, April 7, 2011 10:32 AM
  • I had the same issue, program wasn't getting installed on 2nd DP and installing IIS fixed it !!
    hydkk
    Saturday, July 23, 2011 11:16 AM
  • Saved my bacon!  Installed them on the DP and all is well!  Probably was also the reason my test clients weren't downloading software updates from the local DP as opposed to the remote one.  Thanks BhaskarK!
    Wednesday, August 31, 2011 9:40 PM
  • Adding IS 6 WMI compatiblity was the fix for me too.
    Wednesday, January 15, 2014 10:21 PM
  • Please note that both settings you mention are on technet prerequisite list for site system roles:

    http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SiteSystemRolePrereqs

    Today I got the same error, while my DP have been working fine for months until now.

    Any suggestions? Thanks in advance.

    mw

    Monday, January 27, 2014 8:10 AM
  • Good one, worked for me
    Tuesday, October 18, 2016 6:44 AM
  • Thanks for the answer. 

    I am also facing same issue pck are arrived but not able to extract package.

    Installing IIS 6 metabase solves the issue.

    Tuesday, March 28, 2017 1:10 PM
  • I had a similar issue after doing an inplace upgrade from Server 2012R2 to 2019 on all our distribution points. 
    The error code (0x8004100e) was identical, but the error message was slightly different. 

    CWmi::Connect() failed to connect to \\["Display=\\Server.Domain\"]MSWNET:["SMS_SITE=SiteCode"]\\Server.Domain\\root\SCCMDP. Error = 0x8004100E
    STATMSG: ID=2391 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SiteServer.Domain SITE=SiteCode PID=3024 TID=167120 ISTR0="["Display=\\Server.Domain\"]MSWNET:["SMS_SITE=SiteCode"]\\Server.Domain\" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\Server.Domain\"]MSWNET:["SMS_SITE=SiteCode"]\\Server.Domain\"
    DPConnection::ConnectWMI() - Failed to connect to  ["Display=\\Server.Domain\"]MSWNET:["SMS_SITE=SiteCode"]\\Server.Domain\.
    Failed to update package share data into WMI on the distribution point

    The solution.

    From CMD as Administrator

    cd /d "C:\Windows\CCM"
    for %i in (*.mof) do mofcomp %i
    cd "S:\SMS_DP$\sms\bin"
    for %i in (*.mof) do mofcomp %i
    Wednesday, October 9, 2019 2:41 PM