views:

7195

answers:

5

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.

+6  A: 

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".

deepcode.co.uk
Cool...I will compare the settings on the server against the settings on my workstation.
Michael Kniskern
Thanks for for the answer. I just had to change "Incoming Caller Authenication Required" to "No Authentication Required"
Michael Kniskern
+3  A: 

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.

burnside
+1 Got me out of an unproductive black hole of woe, thanks
Rafe Lavelle
A: 

"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."

Thanks codeburns, Worked for me ;)

+1  A: 

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 .