May 9, 2008 at 6:02 am
Hello,
I am using SSIS to update database. We have parent package which calls five child packages.All the packages share single configuration file i.e single connection string.
The parent package works fine without transaction. The parent package also has a stored procedure which uses the context connection.
When we introduced transaction by setting Transaction on parent & child by setting properties (Required & Supported), the package is getting hanged. SP2 is installed on the machine, we are using sql server evaluation copy.
Can we use RetainConnection property in this scenario? Will the child packages & parent packages use same connection?
If we use transaction property, then do we have to do MSDTC related settings?
Can anyone tell us how to put transaction ?
Failure of the package or task in parent packages should rollback complete parent package related data.
Regards,
Arati
May 9, 2008 at 6:24 am
RetainConnection will not help you. Each child package has it's own connection manager. The fact that they have the same name does not mean anything.
So, you need to use the package transactions. These do use MSDTC. So, you need to ensure DTC is configured correctly on the server running the SSIS packages and the database servers they are connecting to.
Since your package is actually running (and hanging), it is probably configured ok.
Make sure the packages do not conflict with each other. Since everything is hanging, I would suspect a DTC deadlock. Make sure you are not reading data that is being written to - keep lock escalation in mind.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply