Error:

System.Transactions.TransactionManagerCommunicationException: Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool. ---> System.Runtime.InteropServices.COMException: The transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D024)

Fix:

Configure MSDTC

  1. Open Component Services.Or, In Server Manager, select Tools, and then select Component Services.
  2. Expand Component Services, expand Computers, expand My Computer, expand Distributed Transaction Coordinator, right-click Local DTC, and select Properties.
  3. Select the Security tab. In this tab, select all of the following:
    • Network DTC Access
    • Allow Remote Clients
    • Allow Inbound
    • Allow Outbound
    • No Authentication Required
  4. Select OK to save your changes.
  5. If prompted to restart the MSDTC service, select Yes. After the MSDTC service is restarted, close the properties and the Component Services MMC.

Add MSDTC to Windows Firewall exceptions list

 Tip

Microsoft Distributed Tansaction Coordinator (MSDTC) may already be allowed in your firewall. If so, it is listed as an Inbound Rule. If it’s not listed, use this section to allow MSDTC.

  1. Open Windows Firewall, and select Advanced Settings on the left. Or, In Server Manager, select Tools, and then select Windows Firewall with Advanced Security.
  2. Right click Inbound Rules, and select New Rule.
  3. In the wizard:
    1. Select Program, and select Next.
    2. Set the program path to %SystemRoot%\system32\msdtc.exe, and select Next.
    3. Allow the connection, and select Next.
    4. Select Domain, and select Next.
    5. Enter any name, such as MSDTC for Oracle EBS, and select Finish.
  4. Complete the wizard, and close Windows Firewall.

References:

https://doc.sitecore.com/xp/en/developers/81/sitecore-commerce/enabling-msdtc.html

https://learn.microsoft.com/en-us/biztalk/adapters-and-accelerators/adapter-sql/configure-msdtc-on-sql-server-and-adapter-client

https://stackoverflow.com/questions/7694/how-do-i-enable-msdtc-on-sql-server

Last modified: November 2, 2023

Author

Comments

Write a Reply or Comment