I'm running an SSIS package that I made a few months ago, and ran into an odd error.
The package loads data from a tab-delimited file that's exported from an excel worksheet. Errors are redirected to an error table, which is later serialized to an output file.
With my most recent attempts to load these files, every row is rejected with the DTS_E_FLATFILESOURCEADAPTERSTATIC_CANTCONVERTVALUE error code and a column number that doesn't exist in the input file (there are 13 rows on the input, the error column is 187.
I figure that there's something not exported to csv properly, but I'm at at a loss to explain what it is. I've looked at the file, and it has the proper encoding. In addition the SSIS package builder generates the preview correctly.
When have you run into this error before, and what solutions/workarounds did you find that worked?
Some details about the execution environment: package run via dtexec, 2 parameters set on the command line. One is the working folder for the package, the other is the file name. The data is loaded into a SQL Server 2005 database.
Thanks for the help :)