Skip to content Skip to sidebar Skip to footer

Hresult: 0x8004d00e Using Transactionscope - C#

I received the following error when I tried to run a C# WinForms application on a Windows Server 2003 Standard Edition SP1 machine that was connecting to a SQL server 2000, convert

Solution 1:

Check that the DTC is started on the machine where your code is running. Since you are using 2 connections in the transactionscope, the transaction will be promoted to a DTC based transaction.

Also, check that the security is configured correctly (check this by allowing anonymous participation in the DTC transaction), and that your firewall is allowing the DTC through it.

Check out this forum FAQ: Distributed Transaction Coordinator(MSDTC) and Transaction FAQ

[Related to this SO question: Distributed Transaction Coordinator]

Solution 2:

How long is this process taking? If you hit your timeout (unlikely with a 40 minute timeout, but still possible), you could receive that error message.

Otherwise, are you receiving the exception? What is occurring before the exception is thrown?

Post a Comment for "Hresult: 0x8004d00e Using Transactionscope - C#"