Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Problem Implementing Transaction

$
0
0

Hello all - 

I am trying to implement error handling/transactions in a package that loads data from Oracle into Sql Server via 10 DTFs grouped into 4 sequence containers.

For the purpose of testing, I have disabled everything except one DTF inside one sequence container.  For both of these, TransactionOption is set to Required.

The problem is: if I run the package with the RetainSameConnection (for both connection managers) property to True, I get this error:

Incompatible transaction context was specified for a retained connection. This connection has been established under a different transaction context. Retained connections can be used under exactly one transaction context.

If I run the package with RetainSameConnection set to False, I get this error: 

The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00E "The transaction has already been implicitly or explicitly committed or aborted".

Any ideas?


Bonediggler


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>