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
- Open Component Services.Or, In Server Manager, select Tools, and then select Component Services.
- Expand Component Services, expand Computers, expand My Computer, expand Distributed Transaction Coordinator, right-click Local DTC, and select Properties.
- 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
- Select OK to save your changes.
- 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.
- Open Windows Firewall, and select Advanced Settings on the left. Or, In Server Manager, select Tools, and then select Windows Firewall with Advanced Security.
- Right click Inbound Rules, and select New Rule.
- In the wizard:
- Select Program, and select Next.
- Set the program path to
%SystemRoot%\system32\msdtc.exe
, and select Next. - Allow the connection, and select Next.
- Select Domain, and select Next.
- Enter any name, such as
MSDTC for Oracle EBS
, and select Finish.
- Complete the wizard, and close Windows Firewall.
References:
https://doc.sitecore.com/xp/en/developers/81/sitecore-commerce/enabling-msdtc.html
https://stackoverflow.com/questions/7694/how-do-i-enable-msdtc-on-sql-server
Comments