Quantcast
Channel: SSIS: Custom Logging Using Event Handlers
Viewing all articles
Browse latest Browse all 119

re: SSIS: Custom Logging Using Event Handlers

$
0
0
Thanks for describing the method for capturing events in SSIS.
The unsolved question that I have is related to getting control over event handling in SSIS in general. In my project I am trying to design a package that validates type conversions for flat files. For example: input flat file column is defined in conversion task as date. The package I'm designing should: for all input records that contain uncovertable data (i.e. wrong date format) capture (1) that column name, (2) conversion error description, (3) data for that field.
My problem is with the event control: if I specify fail component for all fields that need conversion validation, the OnError will be thrown for the first bad conversion only; if I specify Ignore, no error events are captured.
I also tried using error output stream (redirect), recording ErrorCode, but it seemed to contain only first error for each problematic data field.
Is there method for creating described functionality?

Viewing all articles
Browse latest Browse all 119

Trending Articles