DTS_E_PRIMEOUTPUTFAILED with error code 0xC0202091 when loading flat file
Asked Answered
P

10

21

I get an error message when I try run my SSIS Package, I get an error:

[Flat File Source [1]] Error: The column delimiter for column "Column 8" was not found.

[Flat File Source [1]] Error: An error occurred while skipping data rows.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (1) returned error code 0xC0202091. 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.

Most of the .csv files load successfully, but a handful of .csv files don't. Prior to this error the package has been working fine for years.

Priscian answered 14/5, 2013 at 13:48 Comment(2)
As the error message says, there is usually more detailed information in the log about the error, as shown in this thread for example. Can you show a similar amount of information for your error? And which version of SQL Server are you using?Grishilde
When I got this it indicated the destination disk had run out of space.Volution
D
23

Encountered this error too, turned out that its skipping data rows because my CSV file has missing columns. Try checking if the columns in your file is correct.

Delicatessen answered 9/9, 2014 at 9:33 Comment(1)
In my case, it was only 1 column. The column was there but the name was different by 1 letter. The metadata won't match and cause the error. I found it because of this answer.Penult
B
8

Possible Scenario would be Multiple CSV Files doesn't have the same structure (Column names ) or missing columns in CSV files

Bide answered 27/2, 2019 at 9:9 Comment(0)
T
6

I solved this by clicking Reset Columns in the connection manager for the file I was trying to import.

Tyrannous answered 11/9, 2018 at 20:32 Comment(0)
D
2

I also came across the same error. I got it resolved by checking the flat file sources. Make sure that there are no unnecessary spaces, verify the delimiter used, e.g. a comma, etc., and also the data entry should be in sync with the first row.

Depicture answered 11/4, 2017 at 10:50 Comment(0)
O
-1

Another possible source for this error is if you've created your system with a new version of an incoming file and then go back to import older ones and find the error ... check that all the fields are there! I discovered that for a few days "back then" three fields were missing, causing this error.

Ovate answered 5/6, 2014 at 20:29 Comment(0)
C
-1

I have got the same error when I am processing a file.

In my case, the problem is the expected delimiter is TAB whereas the file that I have received was a comma(,) delimited file.

When I have correct the input file format, it has resolved the issue.

Crabwise answered 27/11, 2019 at 11:44 Comment(0)
P
-1

I had a task that involved reading files and skiping rows if a certain condition was true. The name of the column used in there was "Pxs" and the actual name in the files was "PXS". It is case sensitive, it couldn't find the column. Corrected to caps and it works fine now.

Penult answered 20/1, 2020 at 21:4 Comment(0)
C
-1

In my case, just deleted those data flow tasks, clean designer, recreated same.. mentioned error got resolved. Its Microsoft :(!

Clothesbasket answered 3/8, 2022 at 20:24 Comment(0)
E
-1

-check the detail message that is next to that one -check the columns: there might be difference between what you look in this file and that is it actually

Evelunn answered 7/2, 2023 at 13:6 Comment(0)
S
-1

Please Right-Click inside th Package and select Properties and change 'ForcedExecutionValueType' to 'int64'

Silicify answered 22/4 at 11:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.