SSIS CSV Import error when a special character in the text column

Whenever you find any problem in importing a CSV file using the SSIS package. Here the way which we can try to resolve when the string in the double equation in the CSV file.

Sample files

"090","Grey",""
"091","Grey, Red",""
"092","White/Teal",""
"042","Blue ","("is not blue" )"    --- TextQualified '"' and have ''' in value 
"093","Light Grey",""

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Flat File Source 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.

Review highlighted column in the connection manager. Flat file connection manager -> Advance Tab -> columns property

Change TextQualified =false

Now try to import it again. It should be work.

Spread the love