July 26, 2010 at 1:35 pm
I am trying to pull data from a flat file into a SQL table. Col Delimiter in the flat file is vertical bars and row delimiter is {cf}{lr}. When i am executing this package i get this error (pasted below). I have 118 columns in the table and flat file. I am performing data type conversion as well. Error message says something is wrong in data row 15. I have also pasted data for row 15 below. Please provide me some solutions. I also tried to use import -export wizard but it gives me the same error.
Operation stopped...
- Initializing Data Flow Task (Success)
- Pre-execute (Success)
Messages
Information 0x402090dc: Data Flow Task: The processing of file "D:\850ExportToXroads-20100726111057.txt" has started.
(SQL Server Import and Export Wizard)
- Executing (Error)
Messages
Error 0xc02020a1: Data Flow Task: Data conversion failed. The data conversion for column "Column 34" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
(SQL Server Import and Export Wizard)
Error 0xc020902a: Data Flow Task: The "output column "Column 34" (146)" failed because truncation occurred, and the truncation row disposition on "output column "Column 34" (146)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
Error 0xc0202092: Data Flow Task: An error occurred while processing file "D:\850ExportToXroads-20100726111057.txt" on data row 15.
(SQL Server Import and Export Wizard)
Error 0xc0047038: Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Source - 850ExportToXroads-20100726111057_txt" (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.
(SQL Server Import and Export Wizard)
Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED. Thread "SourceThread0" has exited with error code 0xC0047038. There may be error messages posted before this with more information on why the thread has exited.
(SQL Server Import and Export Wizard)
Error 0xc0047039: Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED. Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown. There may be error messages posted before this with more information on why the thread was cancelled.
(SQL Server Import and Export Wizard)
Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0047039. There may be error messages posted before this with more information on why the thread has exited.
(SQL Server Import and Export Wizard)
- Copying to [Crossroads].[dbo].[850ExportToXroads-20100726111057] (Stopped)
- Post-execute (Success)
Messages
Information 0x402090dd: Data Flow Task: The processing of file "D:\850ExportToXroads-20100726111057.txt" has ended.
(SQL Server Import and Export Wizard)
Information 0x402090df: Data Flow Task: The final commit for the data insertion has started.
(SQL Server Import and Export Wizard)
Information 0x402090e0: Data Flow Task: The final commit for the data insertion has ended.
(SQL Server Import and Export Wizard)
- Cleanup (Success)
Messages
Information 0x4004300b: Data Flow Task: "component "Destination - 850ExportToXroads-20100726111057" (486)" wrote 0 rows.
(SQL Server Import and Export Wizard)
Data Row 15
20100726CS17974|112084681|CS17974|7/9/2010 0:00:00|||JUSTIN biber||some TOWER ROAD||somecity|MD|20613|US|BT||xyz.COM; MICH|800 ST; SUITE 1600|jersey city|NJ|07306|WL5036567||GR||(617)-123-4567|VN|TORX34|||||||Toast R Oven Countertop Oven Broiler in Stainless Steel||1.00|48.07|48.07||48.07|0.00|0.00|48.07|||1|||SA||||||D|1.00|1CS176540000000001|7/9/2010 0:00:00|104900|7/9/2010 0:00:00|110511||||||00001|0000001127|0000001127|0001127002|CS17974001||2.00|||||||||||Net 30||0.00|20100709 104900|service@email.csnstores.com|||||||||||||||||||||||0|1|0|0|bbl-eel|EDI|B2C|CSN
July 26, 2010 at 2:28 pm
Got my solution.
It was data type size, that was causing errors. I raised the maximum size here and there (at source connection) and it worked.
Thanks though.
February 15, 2022 at 11:55 pm
Hi,
Thank you for all the informations shared!!
Can you tell me which maximum type of data that you choosed?
Thnaks,,
September 19, 2022 at 8:41 am
This was removed by the editor as SPAM
October 3, 2022 at 7:09 am
This was removed by the editor as SPAM
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply