MSDTC Issue RRS feed

  • Question

  • I have got a problem with MSDTC. When using distributed transactions i got the following


    Exception Message : Communication with the underlying transaction manager has failed.

    Inner Exception Message : "Error HRESULT E_FAIL has been returned from a call to a COM component."


    When i tried DTCPing from my client machine to my server machine i saw the following in the log

    WARNING:the CID values for both test machines are the same while this problem won't stop DTCping test, MSDTC will fail for this


    So it is almost certain that i am getting the exception because the cids are same. How can i give a new cid to one of the MSDTC s.

    Monday, June 2, 2008 6:06 PM


  • I had similar error when we were running virtual machine clones couple months ago, obviously my msdtc had same CIDs...


    I used the following approach on one of the clone to generate unique cid...


    Use Add Windows Components, and remove Network DTC.

    Go to the command line and run: MSDTC -uninstall

    Go to the registry and delete the MSDTC keys in HKLM/Software/Microsoft/Software/MSDTC, HKLM/System/CurrentControlSet/Services/MSDTC, and HKEY_CLASSES_ROOT\CID (if they're still there).


    Go to the command line and run: MSDTC -install

    Use Add Windows Components, and add Network DTC.

    Go to the command line and run: net start msdtc


    The original post for the above solution can also be viewed at this link

    Monday, June 2, 2008 6:19 PM