September 2, 2014 at 7:43 pm
Hi,
I created 4 Execute SQL task and each one is adding single row to the table. When I execute the package it is working fine. If I add these 4 tasks to Sequence container. The first Execute SQL task fails with the connection error. I checked the connection is fine and works fine without sequence container. I am using TransactionOption as Required for Sequence container.
Error-
[Execute SQL Task] Error: Failed to acquire connection "ABCDDB06\DEVDB007.dbBRIMS2". Connection may not be configured correctly or you may not have the right permissions on this connection.
Does anyone know why is the execution failing?
September 3, 2014 at 12:18 am
Is MSDTC configured correctly?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 3, 2014 at 12:47 am
I have tried starting OFF & ON few times the service - Distributed Transaction Coordinator. Are you asking this?
September 3, 2014 at 1:02 am
Yes. But it needs to work over the different machines.
I have never configured it myself though, I try to avoid it at all costs.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 3, 2014 at 6:07 pm
I tried again with new project and new package. All 4 Execute SQL package works outside Sequence container but, inside the 1st Exec SQL package fails.....
Does anyone else know? It looks like there should be a very simple solution for this.
September 4, 2014 at 12:40 am
smart_analyst (9/3/2014)
I tried again with new project and new package. All 4 Execute SQL package works outside Sequence container but, inside the 1st Exec SQL package fails.....Does anyone else know? It looks like there should be a very simple solution for this.
The most simple solution is to turn off the transaction property.
If the transaction is needed, you need to dive deeper into MSDTC configuration.
Another option is to create the transaction yourself.
SSIS Transactions without MSDTC[/url]
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply