• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

SSIS funny character wont insert into csv or text file

I am trying to insert data into a CSV or text flat file and I am getting an error because of a funny character in the source column.

I can't seem to be able to copy and paste this character into the this text box so I have attached it as a image file.

My destination column time in the flat file destination connection manager is: DT_WSTR length 255.

funny-character.png
0
Mr_Shaw
Asked:
Mr_Shaw
  • 6
  • 4
1 Solution
 
rajvjaCommented:
Can you type the error message
0
 
rajvjaCommented:
Hi,

   What is the datatype of source column.
If it is NVARCHAR, it won't have any problem.
0
 
Mr_ShawAuthor Commented:
It is a NVARCHAR (200)

The errors are:

[Flat File Destination [361]] Error: Data conversion failed. The data conversion for column "Column1" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".

[Flat File Destination [361]] Error: Cannot copy or convert flat file data for column "Column1".

Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Flat File Destination" (361) failed with error code 0xC02020A0. 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.

Error: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC02020A0.  There may be error messages posted before this with more information on why the thread has exited.

[OLE DB Source [84]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "OLE DB Source" (84) 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.

Error: 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.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Mr_ShawAuthor Commented:
My destination has a greater length than the source.. so I don't think it is a truncation issue.
0
 
rajvjaCommented:
Hi

Its not the truncation issue.
Can you check the data type of column in the pipeline. You can check from the advanced editor in SSIS data flow.
0
 
Mr_ShawAuthor Commented:
The source column is DT_WSTR 200.
0
 
rajvjaCommented:
Hi,

  Try to go to the advanced editor of flat file destination and check the data type and length of columns. If not matched, try increasing the length there
0
 
Mr_ShawAuthor Commented:
I have now excluded that row with the funny character...

It seems to work...

I'll close the question if I reach success.
0
 
Mr_ShawAuthor Commented:
thanks
0
 
Mr_ShawAuthor Commented:
I checked the unicode checkbox in the flat file connection manager and I worked.

:)

Thanks for all you help
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now