Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

error Expand / Collapse
Posted Sunday, September 16, 2012 8:31 AM


Group: General Forum Members
Last Login: Thursday, February 21, 2013 12:01 PM
Points: 149, Visits: 346

i am getting this error:

Error: 0xC02020A1 at Data Flow Task 1, Flat File Source [1]: Data conversion failed. The data conversion for column "ModifiedDate" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
Error: 0xC020902A at Data Flow Task 1, Flat File Source [1]: The "output column "ModifiedDate" (22)" failed because truncation occurred, and the truncation row disposition on "output column "ModifiedDate" (22)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
Error: 0xC0202092 at Data Flow Task 1, Flat File Source [1]: An error occurred while processing file "C:\Users\Desktop\sqlmaterial\SSIS\_SSIS_Training\LoopFiles\error.txt" on data row 2.
Error: 0xC0047038 at Data Flow Task 1, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (1) returned error code 0xC0202092. 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 help?
Post #1359886
Posted Monday, September 17, 2012 2:06 AM



Group: General Forum Members
Last Login: Today @ 4:33 AM
Points: 5,969, Visits: 6,062
The target isn't big enough to take the data from the source.

Find the offending column(s) and increase the size.

Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1360018
Posted Monday, September 17, 2012 6:17 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, May 25, 2015 2:52 AM
Points: 28, Visits: 135
Change the datatype to string with sufficient length for modified date.
Post #1360138
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse