Skip to main content
Skip table of contents

Microsoft Distributed Transaction Coordinator Fails

Microsoft Distributed Transaction Coordinator (DTC) fails or DTC transactions fail.

DescriptionIf your company is spinning up servers from the same Azure templates, specifically spinning up SQL and MobileTech app server from the same template, in some, or possibly all, circumstances, Microsoft Distributed Transaction Coordinator (DTC) will fail. You can catch this specific problem if you ever suspect it is happening (usually when you have confirmed no firewall issues, no non-domain DMZ comm issues, and that components service options have been set), by running DTCPing between both servers. Usually in the log that CID warning will appear.

SolutionUninstall and reinstall DTC on either machine (usually safest to do on the App server). We recommend that you utilize the Powershell cmdlets for uninstall-dtc and install-dtc to do the uninstall/re-install.  

  1. To start a Windows PowerShell session in a Command Prompt window, type PowerShell.
  2. In Windows Powershell, run the following commands:
    1. Cmdlet to uninstall DTC
      Uninstall-Dtc -Confirm:$false
    2. Cmdlet to install DTC
      Install-Dtc -LogPath "C:\Windows\system32\MSDtc" -StartType AutoStart
    3. Cmlet to configure DTC
      Set-DtcNetworkSetting -DtcName "Local" -RemoteClientAccessEnabled:$true -RemoteAdministrationAccessEnabled:$true -InboundTransactionsEnabled:$true -OutboundTransactionsEnabled:$true -AuthenticationLevel NoAuth -Confirm:$false
  3. Restart IIS and the DTC service. You may need to reboot the app server.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.