23 November 2013

CRM Deployment Manager: MMC has detected an error in a snap-in

Got some rare issue here, running CRM deployment manager in server, as screen capture below:
MMC could not create the snap-in.
CLSID: FX:{1ac9de3e-24ae-480d-9e15-65386b76e433}


First thing comes into my mind is to check for the following things:
  • Run as administrator
  • Run with user that used to install crm
  •  Run with domain admin account
  • ping domain controller, IP address
 unfortunately, still cannot resolve the issue, event log is throwing me:
Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=WIN-6H9L2IUM336,CN=Servers,CN=Tier3DC,CN=Sites,CN=Configuration,DC=mydomain,DC=com".

 If you guys faced similar issues, try following solution;

  1. open regedit, navigate to :HKLM\Software\Microsoft\MSCRM
  2. Right Click and click on NewString value as "PreferredDc"
  3. Add the value to PreferredDc is YourDomainControllerName
  4. We can find this in AD by typing the command in command prompt echo %logonserver%

13 comments :

  1. We get the same error after installing CRM 2011 UR 17. Any ideas on this?

    ReplyDelete
  2. Have you tried adding the PreferredDc?

    ReplyDelete
  3. Hi, when i migrate crm4 database to crm2013,i do also encounter the same problem:MMC has detected an error in a snap-in.Then i'm looking for solution long time but get nothing...Did your fix it,or any solutions? Thanks.

    ReplyDelete
  4. i have tried your solution,but it doesn't work.

    ReplyDelete
  5. We have also the same Problem since UR 17. Solution with PreferredDc doesn't help

    ReplyDelete
  6. what you get from event log.?
    Btw I encounter this on crm 2011 server.

    ReplyDelete
  7. Hi, I faced same issue. I checked my IP address and it was not appearing as there was no network adapter for Virtual box. I fixed issue related to network adapter and system IP started coming. Issue resolved with MMC

    ReplyDelete
  8. I faced the same issue. Issue was related to network adapter of virtual box because of that IP address was not appearing. I fixed network adapter issue and IP address started appearing. MMC issue resolved

    ReplyDelete
  9. MMC issue resolved

    ReplyDelete
    Replies
    1. How was it resolved?

      Delete
  10. Anyone has any solution to this? The NIC on my server has no issues.

    ReplyDelete
  11. Make sure that the logon account has DB owner on config DB for CRM

    ReplyDelete
  12. I also fixed this by added DB owner to the account after restoring the DB backup. The problem appears to be the permissions accessing the database

    ReplyDelete