January 3, 2013 at 7:00 am
I have created a SSIS data flow package in our development environment that works via debug or sql agent. but when I point the data source to our production database ( copy of Dev database) the package fails on the ADO NET destination.
The errors in the execution results:
[ADO NET Destination [213]] Error: An exception has occurred during data insertion, the message returned from the provider is: String or binary data would be truncated.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (213) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (216). 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.
[Flat File Source [1]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (1) returned error code 0xC02020C4. 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.
January 3, 2013 at 7:07 am
String or binary data would be truncated.
You have data going into a column which it cannot fully store.
Eg Trying to insert VARCHAR(100) into VARCHAR(50)
Debug the source columns and ensure that the destination columns match the correct data types and lengths.
January 3, 2013 at 7:40 am
Thanks for the quick response.
What I find interesting is that the package works fine when I point to Development which was used to restore the production database.
January 3, 2013 at 8:41 am
Debug the source columns and ensure that the destination columns match the correct data types and lengths.
+1
What I find interesting is that the package works fine when I point to Development which was used to restore the production database.
Sounds like one has been changed...
Andy
==========================================================================================================================
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila. Mitch Ratcliffe
January 3, 2013 at 11:41 am
Solution:
The Flat File Connection Manager had the Text qualifier as _x0022_. When I changed it to " (double quotes) on the production SSIS package it works as advertised.
Thanks for the Quick Replies and Happy New Year!!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply