I have a flat file component in a package that is reading a comma separated file.
It expects two columns of int type.
I have an on error event for the entire package. The On error event has one script task which just logs to the windows event log.
if I corrupt the input values in the file, for example instead of a number I put a character
When I debug the package, I see that the script task in the on error event blinks 7 times and I get 7 errors in the windows event log.
Now If I put another script task next to the flat file source and attach it to the flat file source as a error output (with row redirect).
I get only one error message.
Why are the two behaviours different Both are error handlers one is at the component level the other is at the package level.
So why is it that the package level is invoked 7 times if the input is corrupt but the component level is invoked only once.
regards,
Abhishek.