I use a ForEachLoop container in SSIS to import 427 xlsm files into a SQL Server 2008 R2 database.
I use an Excel dataflow source and everything loads as expected except for 4 files out of 427.
All the excel files are formatted in the same way and I cannot find any obvious reason why I am having issues with these 4 files only.
The process takes data from 3 separate tabs in each file and loads to a staging table in the database.
All 4 files are presenting issues from the same tab.
All 4 files present the same SSIS errors
[Excel Source ] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
[Excel Source ] Error: Failed to retrieve long data for column "f1".
[Excel Source ] Error: There was an error with output column "f1" (869) on output "Excel Source Output" (777). The column status returned was: "DBSTATUS_UNAVAILABLE".
[Excel Source ] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "f1" (869)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "f1" (869)" 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 component "Excel Source" (769) 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.
Any guidance appreciated, thanks.