I have been trying to solve the locking problem from past couple of days. Please help mee!!
Scenario:
--
I have a SSIS package in which 2 data flow tasks. 1st data flow task deletes records from a 5 tables and the 2nd data flow task should insert records into 1 of the five tables after the success of 1st data flow task. This scenario runs in Transacation.
The above scenrio in the 2nd data flow task hangs in runtime. It does not complete. with sp_who2 command i could see that there is an intent share lock(LK_M_IS) on the table and the status is SUSPENDED.
I dont know how to come out of this locking. Please help.
Thanks ,
SunilTry setting RetainSameConnection to TRUE on the connection manager.
|||It was already set to TRUE. Please help meeee..
|||Based on some other threads about similar issues, this may not be SSIS, but related to DTC and the core relational engine. You might try checking some of the other forums to see if they have any suggestions.
|||
Have you tried using a SQL Task (set based) for the deletes followed by your Insert Data Flow Task?
Larry
|||
Hey Larry,
Yes. I did use it.but still the blocking happens. Please suggest
Thanks,
Sunil
No comments:
Post a Comment