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

Transaction Property in SSIS Package

$
0
0

Hi,

Requirement : when the Sequence container failure then Rollback SQL Task succeed( It means Rollback the Data when Package failure)(note:PC had problem with MSDTC so configured by using SQL task instead of Transaction properties in SSIS.)

Package like below image:

Here Begin transaction SQL query:Begin transaction ssis_rollback (result set:none)

Rollback transaction SQL query : rollback transaction ssis_rollback (result set:none)

Here my problem is

Begin Transaction Succeed(-Green) and

Sequence container failed(-Green) So next task will

ROllback SQL task also executed but in RED (i.e., this task failed(-RED))

[Execute SQL Task] Error:
 Executing the query "rollback transaction ssis_rollback" failed with the following error:
 "The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION.".
 Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,
 parameters not set correctly, or connection not established correctly.

Package properties: Execution---all are in FALSE so any Changes..?

Please help on configure the BEGIN/ROLLBACK SQL task .

Thanks

-MADHU



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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