Microsoft KB Archive/322343

= Error message when you try to enlist an Oracle connection in a distributed transaction: &quot;Failed to initialize distributed transactions&quot; =

Article ID: 322343

Article Last Modified on 3/9/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.1 Service Pack 1

-



This article was previously published under Q322343



SYMPTOMS
When you try to enlist an Oracle connection in a distributed transaction by using the Microsoft .NET Framework Managed Provider for Oracle, you receive the following System.InvalidOperationException exception:

Failed to initialize distributed transactions. Please see KB article Q322343



CAUSE
This exception occurs on the Open method of the OracleConnection object. Currently, distributed transactions are not supported with the Microsoft .NET Framework Managed Provider for Oracle. All other functionality works with the Microsoft .NET Framework Managed Provider for Oracle.



RESOLUTION
Because of changes that were implemented to support the Microsoft .NET Framework Managed Provider for Oracle, you must have a newer version of the Mtxoci.dll file for distributed transactions to work. The .NET Managed Provider for Oracle now supports distributed transactions.

If you must use distributed transactions, use the .NET Managed Provider for Oracle 1.1 or the Microsoft OLE DB .NET Data provider with the Microsoft OLE DB Provider for Oracle to work around this problem.

