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

Stop Package at error in Pre Execute()

$
0
0

Hi All,

I am running package to extract data from different servers. I have used script component in my task. In script component pre exection block I have written try catch block to handle any error. but the problem is that it is by passing the error and going to post exectue block which I dont want. I want the package to stop as soon as it comes to catch block in Pre Execute() in Script Component.

Any help will be highly appreciated.

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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