SSIS Transaction Problem

I created multiple SSIS packages and one parent package that execute them.

Each package designed to delete the existing records and reload data from different source tables based on the cutoff date. In case of the parent package, it just listed the child packages based on the sequence.

When TransactionOption for all packages, both parent and child, were set to 'Supported' it works as designed.

After changing TransactionOption of all child package to 'Required', entire SSIS package hung and was never completed; TransactionOption of parent package was set as Supported. When each child package was executed without calling from parent, each works as deisnged even though its TransactionOption is 'Required'. However, when they are executed from the Parent pacakge, none of child package was executing but just hung.

Thank you in advance for your ad

July 24th, 2013 7:42pm

Hi Alan,

When TransactionOption for all packages, both parent and child, were set to 'Supported' it works as designed.

if the packages are working in the order they are designed, my questions is then why you are setting transactions in SSIS package?

If the child packages are performing their individual and independent tasks, and they are called sequentially(serially) in parent package, doesn't that solve your purpose?

July 24th, 2013 9:22pm

When TransactionOption is set to 'Supported', SSIS will not use Transaction/RollBack if there is no task having TransactionOption = required.

A reason why I tried to enable transaction/Rollback is the same reason why a developer adds transaction to stored procedure even though the stored procedure works as designed without transaction.

Free Windows Admin Tool Kit Click here and download it now
July 25th, 2013 1:00pm

I was using 2012.

It seems weird. In my case there was no error but hung at the validation step.

July 25th, 2013 1:02pm

Alan,

This blog post on SSIS transactions is useful:

http://microsoft-ssis.blogspot.com/2011/09/ssis-transactions-with-tsql.html

Free Windows Admin Tool Kit Click here and download it now
July 25th, 2013 1:10pm

Alan, reply
August 13th, 2015 3:03am

This is Esther 
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2015 3:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics