SSIS - Error Output - Redirect Row

  • Hi-

    I have the following steps in a data flow.

    1. Flat file source - The output of this task is sent to Data Conversion transform. and the error out is sent to a Flat file destination.

    2. Data Coversion Trans. converts text to integer and text to datetime

    3. output is written to a OLEDB destination

    Requirement/Expectation:

    I had a bad date value (12/26/200) in one of the records in flat file and was expecting the package to execute without any error and redirect the row with bad date to the flat file destination. I want the rows except for row with bad date to be loaded into SQL table.

    Result/Observation:

    1. Package failed

    2. Flat file source, Flat file destination and Data Conversion steps were green.

    3. OLEDB Destinationn was red

    4. All the rows in flat file were directed to data conversion step. It should have skipped the row with bad data and redirected this row to the flat file destination.

    5. Package should not have failed

    Can someone help me fix this?

  • Is your error redirect on the data conversion task?

  • error redirect is on the flat file source task

  • Put the error on the data conversion task, as this will be where the data type error will be raised

  • I will give it a try. what if I did not have the data conversion task but wanted to redirect the error rows from extract to flat file destination?

  • Hi Steve-

    I configured the error redirect step in data conversion task instead of flat file source. No luck.

    thanks!

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply