Hello,
I'm importing a set of excel files to SQL table. I have a for each loop container that iterates through the set of files to be imported. The structure of the excel files is the same and the data type in the excel columns in each of those files is similar.
The data in some of the columns may be sparse depending on the availability. The package was successful loading a file but when loading the second file fails with the following error:
[Excel Source [200]] Error: There was an error with Excel Source.Outputs[Excel Source Output].Columns[columnX] on Excel Source.Outputs[Excel Source Output]. The column status returned was: "The value could not be converted because of a potential loss of data.".
[Excel Source [200]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Excel Source.Outputs[Excel Source Output].Columns[columnX]" failed because error code 0xC0209072 occurred, and the error row disposition on "Excel Source.Outputs[Excel Source Output].Columns[columnX]" 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."
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Excel Source returned error code 0xC0209029. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
To trouble shoot the error I tried to import the file that was failing via package using the import/export wizard to the destination table. There was a warning message"potential lost conversion from varchar to float" displayed on "columnX" (i.e, the column which was failing in the package). I checked the column covert and proceeded further and the import via import/export wizard failed.
I have reviewed the data and find that there are no character data in columnX.Tried using the data conversion transform in the package to covert the data to float but it keeps failing with the same error. I don't have IMEX=1 in the connection string of the package. Does anyone know how to fix this error? Any help pointers is very much appreciated.
Thank you!