"Communication with the underlying transaction manager has failed" error message
Asked Answered
H

5

9

A client of our has recently upgraded a ASP.NET 1.1 web application to ASP.NET that uses COM+ transaction processing and received the following exception while trying to process a transaction:

Exception Type: System.Transactions.TransactionManagerCommunicationException
Message: Communication with the underlying transaction manager has failed.

Inner Exception Type: System.Runtime.InteropServices.COMException ErrorCode: -2147467259
Message: Error HRESULT E_FAIL has been returned from a call to a COM component.

Here are the following settings on MSDTC Security Settings:

-- Network DTC Access
-- Allow Inbound
-- Allow Outbound
-- Incoming Caller Authenication Required

A Windows XP SP3 workstation is trying to establish a connection to a Windows Server 2003 machine.

Has anyone else experienced this error and know how to resolve it.

Hipbone answered 14/10, 2008 at 16:59 Comment(0)
C
14

You'll need to have network DTC access enabled on both your XP workstation and your windows 2003 machine. Also, if your application is only published internally, you can turn off incoming caller authentication and set it to "no authentication".

Coriolanus answered 22/10, 2008 at 0:59 Comment(2)
Cool...I will compare the settings on the server against the settings on my workstation.Hipbone
Thanks for for the answer. I just had to change "Incoming Caller Authenication Required" to "No Authentication Required"Hipbone
A
9

Add C:\Windows\msdtc.exe to the firewall exceptions on both the firewall and server. I spent ages monkeying around opening specific port numbers and ranges to no avail before I did this.

Asuncionasunder answered 6/5, 2009 at 9:29 Comment(1)
On Windows Server 2008 R2 Datacenter it was at c:\windows\system32\msdtc.exe.Ezekiel
N
3

1)Disable authentication besides enabling the network access to "distributed transaction co-ordination " service (mutual authentication doesn’t work as displayed in internet in xp sp3 machines)

2) enable network access in client ( web applicaton ) and server ( sql server ) machines for "distributed transaction co-ordination " service .

Normannormand answered 20/10, 2009 at 12:11 Comment(0)
E
0

In case you need help finding the MSDTC settings mentioned in the other answers (like I did), the following link explains how to configure MSDTC on server 2003.

http://itknowledgeexchange.techtarget.com/sql-server/how-to-configure-dtc-on-windows-2003/

Etti answered 6/2, 2013 at 16:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.