When you run an application by using the ADO.NET Provider for DB2 that's configured for distributed transaction, the application fails under load and returns the following Exception:

System.Runtime.InteropServices.COMException (0x80040E14): Exception from HRESULT: 0x80040E14
at System.Data.Common.NativeMethods.ITransactionJoin.JoinTransaction(Object punkTransactionCoord, Int32 isoLevel, Int32 isoFlags, IntPtr pOtherOptions)
at System.Data.OleDb.OleDbConnectionInternal.EnlistTransactionInternal(Transaction transaction)



This issue was introduced when we added XA transaction support. In some situations, the destructor for MSDTC cleanup was never called. This causes the MSDTC exception.


The fix that resolves this problem is included in the following cumulative updates for Host Integration Server:

Cumulative Update 2 for Host Integration Server 2016

Cumulative Update 4 for Host Integration Server 2013


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!