Tuesday, February 14, 2012

Distributed transaction completed. Either enlist this session in a new transaction or the

I am getting this error :

Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:System.Data.OleDb.OleDbException: Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

have anybody idea?!

Hi,

From the exception message, we can see that you're using a distributed transaction.

Are you using a TransactionScopt object? If yes, this exception is often thrown when you're trying to use a distributed trasaction that has been committed already. In this case, you can either use this transaction before it's completed or start a new one for this operation.

HTH. If anything is unclear, please feel free to mark this post as Not Answered and post your reply. Thanks!

No comments:

Post a Comment