My Oracle Support Banner

Attempting to Promote a Transaction from Local to Distributed in A Client Application that Involves a Database Link Fails With: ORA-24797 (Doc ID 1519008.1)

Last updated on JANUARY 14, 2013

Applies to:

Oracle Data Provider for .NET - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Attempting to promote a transaction from local to distributed in a client application that involves a database link fails with: 

"The Promote method returned an invalid value for the distributed transaction"

and the transaction is commited.

Stack Trace

System.InvalidOperationException: The Promote method returned an invalid value for the distributed transaction.
 at System.Transactions.TransactionStatePSPEOperation.PSPEPromote(InternalTransaction tx)
 at System.Transactions.TransactionStateDelegatedBase.EnterState(InternalTransaction tx)
 at System.Transactions.EnlistableStates.Promote(InternalTransaction tx)
 at System.Transactions.Transaction.Promote()
 at System.Transactions.TransactionInterop.ConvertToOletxTransaction(Transaction transaction)
 at System.Transactions.TransactionInterop.GetDtcTransaction(Transaction transaction)
 at System.Messaging.MessageQueue.StaleSafeSendMessage(MQPROPS properties,IntPtr transaction)
 at System.Messaging.MessageQueue.SendInternal(Object obj, MessageQueueTransaction internalTransaction, MessageQueueTransactionTypetransactionType)
 at System.Messaging.MessageQueue.Send(Object obj, MessageQueueTransactionType transactionType

 


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.