I have a .out file that is delimited by commas with a text qualifier of quotes. For the life of me, I can't convert any of the columns into floats or eight-byte integers. I can't do it through a derived column, a character conversion transformation, or setting it in the beginning through the connection manager. This is the error I get using a Derived column for a 7/8 digit ID column that I'm trying to cast as an eight-bit unsigned integer.
Error: 0xC0049064 at Data Flow Task, Derived Column [1292]: An error occurred while attempting to perform a type cast. Error: 0xC0209029 at Data Flow Task, Derived Column [1292]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Derived Column" (1292)" failed because error code 0xC0049064 occurred, and the error row disposition on "input column "PID" (1375)" 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. Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Derived Column" (1292) failed with error code 0xC0209029 while processing input "Derived Column Input" (1293). 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.
I also will get data loss errors. Could it possibly be an issue with the quotation marks? When I upload it to SQL as all strings, each value still has quotes around it. Could this screw up the casting? I have the correct delimiters and put " in the text qualifier. The data loads fine without quotes in preview but during the upload it has quotes again.
Anyone with ideas?