Microsoft Distributed Transaction Coordinator Fails
Microsoft Distributed Transaction Coordinator (DTC) fails or DTC transactions fail.
Description: If 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.
Solution: Uninstall 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.
- To start a Windows PowerShell session in a Command Prompt window, type PowerShell.
- In Windows Powershell, run the following commands:
- Cmdlet to uninstall DTC
Uninstall-Dtc -Confirm:$false - Cmdlet to install DTC
Install-Dtc -LogPath "C:\Windows\system32\MSDtc" -StartType AutoStart - Cmlet to configure DTC
Set-DtcNetworkSetting -DtcName "Local" -RemoteClientAccessEnabled:$true -RemoteAdministrationAccessEnabled:$true -InboundTransactionsEnabled:$true -OutboundTransactionsEnabled:$true -AuthenticationLevel NoAuth -Confirm:$false
- Cmdlet to uninstall DTC
- Restart IIS and the DTC service. You may need to reboot the app server.