DATA TASKS FAILS...IN SSIS

  • i have a dataflow; loading from flat file to sql table. There are truncation warnings, but actual data will not be trunacted. However, i used to have same issues, but when i used to change my seetings " on truncation -ignore" it used to work. tHis time this seetings is not helping. However when i change to " on error-ignore" it works. below is the details error message that i get.

    ---------------

    [OLE DB Destination [42]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Invalid character value for cast specification.". An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Invalid character value for cast specification.".

    [OLE DB Destination [42]] Error: There was an error with input column "Col006" (253) on input "OLE DB Destination Input" (55). The column status returned was: "The value could not be converted because of a potential loss of data.".

    [OLE DB Destination [42]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (55)" failed because error code 0xC0209077 occurred, and the error row disposition on "input "OLE DB Destination Input" (55)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

    [DTS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (42) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

    [DTS.Pipeline] Error: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0209029. There may be error messages posted before this with more information on why the thread has exited.

  • ALL , Thanks for looking. The problem was fixed simply by checking the box "keep null values from source as null value in data flow" in flat source editor. The problem was it was trying to change the null value from source as empty string and during that conversion data would be lost, so the error was thrown away.

  • Wow..it worked...saved my day....if you do not make the value of retain null values to false, the last row of the .csv file would be ignored while inserting into the database.

    Also, in certain cases, while using an older Windows version, chances are if you minimize the records and try to preview in the flat file source editor, the CR LF present at the end of the last record(present at end of every record when it is the row delimiter), shows up as two tiny boxes.

Viewing 3 posts - 1 through 2 (of 2 total)

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