Ant-Green
SSC Guru
Points: 113566
More actions
May 20, 2021 at 8:04 am
#3885707
What is the maximum error count set to on the package?
If its set to 100 but only 99 errors are raised, its below the threshold so will report as a successful run even though it had errors.
Pete Bishop
Default port
Points: 1493
May 20, 2021 at 8:10 am
#3885710
Grrr... Such a simple answer! For some reason I'd set it to 0.
Many thanks.
Phil Parkin
Points: 247183
May 20, 2021 at 8:11 am
#3885711
I would have expected it to report a failure in that case, but to be brutal you could add a Script Task to your OnError handler which does this:
public void Main() { //Fail the package Dts.TaskResult = (int)ScriptResults.Failure; }
Viewing 3 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply