Hello everyone,
I come to you for help to understand some odd behavior in a 2008 SSIS package.
In a classical Insert New -> Update Existing scenario (DB Source to DB Destination) both SQL 2008 R2, we are getting a few bad records with the following error number:
-1071607703 {DTS_E_COMMANDDESTINATIONADAPTERSTATIC_CANTCONVERTVALUE}
the additional information points at a varchar(60) column, and our Select statement is in fact Casting the source value to varchar(60).
In face of such error, we created a twin table with a larger varchar(field) to store "bad" values so that we could analyze them. Well, we found nothing; each record had 60 or less characters in length and we were even able to execute an UPDATE statement between the originally intended target table and the "bad" one without a single issue, and without having to cast or convert a single value. This behavior repeated time and time again. Does this make any sense?
Prior deploying the package to production, we did test it for all three scenarios:
a) all insert
b) some insert, some update
c) all update
Once deployed, it ran without issues for about 20hrs (every 10') before showing said behavior.
Any suggestions?
What I have tried:
We copied the source DB from production into a development server (also 2008 R2), and ran the SSIS in debug mode from SSBIDS without a single error.
Thank you all for your time and thoughts.