J
John Kotuby
Hi all,
I was trying to accomplish I thought would be a simple task as part of a
much larger data migration. Import a comma delimited CSV file into a SQL
table. As it turns out, if there is a bad-data row in the source CSV the
data-flow task does not simply pass that row via the "error" workflow arrow
into another Row Count task meant to keep track of the error count. It then
should move on to the next record (that was easy to configure in DTS 2000).
Instead the whole Data Flow task is failed. It appears that I don't even get
a chance to intercede in the event of a bad source record. I read a few
posts about older packages failing after .NET 3.5 SP1 is installed.
Apparently the PrimeOutput() method of the data-flow task simply fails the
task upon encountering a malformed record
I tried redirecting failed rows to a Row Count transform which redirects the
output to a variable of INT32.
The red line from the mdc_msc.csv source is even labelled "Flat File Source
Error Output".
However, the package is stall halted with a Fatal error.
It is clear to me after looking at the CSV file in a text editor that on row
1032 (of 155,000) there is a
missing comma delimeter. Of course I could fix that line only to discover
another 20 or so bad records.
This package must be run daily to update a working database. It must run
unattended and merely keep track of failed rows.
I get the "input" files from a 3rd party so cannot fix whatever might be
causing the error in the CSV file used for input.
Below I have typed the error messages.
Error: The column delimeter for column "Column 13" was not found.
Error: An error occurred while processing file "mdc_msc.csv" on data row
2003.
Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on
component "Source -
mdc_msc_csv"(1) returned error code 0xC0202092. The componenet 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.
Thanks for any comment. I wish I could present this to a Microsoft SSIS
expert.
I was trying to accomplish I thought would be a simple task as part of a
much larger data migration. Import a comma delimited CSV file into a SQL
table. As it turns out, if there is a bad-data row in the source CSV the
data-flow task does not simply pass that row via the "error" workflow arrow
into another Row Count task meant to keep track of the error count. It then
should move on to the next record (that was easy to configure in DTS 2000).
Instead the whole Data Flow task is failed. It appears that I don't even get
a chance to intercede in the event of a bad source record. I read a few
posts about older packages failing after .NET 3.5 SP1 is installed.
Apparently the PrimeOutput() method of the data-flow task simply fails the
task upon encountering a malformed record
I tried redirecting failed rows to a Row Count transform which redirects the
output to a variable of INT32.
The red line from the mdc_msc.csv source is even labelled "Flat File Source
Error Output".
However, the package is stall halted with a Fatal error.
It is clear to me after looking at the CSV file in a text editor that on row
1032 (of 155,000) there is a
missing comma delimeter. Of course I could fix that line only to discover
another 20 or so bad records.
This package must be run daily to update a working database. It must run
unattended and merely keep track of failed rows.
I get the "input" files from a 3rd party so cannot fix whatever might be
causing the error in the CSV file used for input.
Below I have typed the error messages.
Error: The column delimeter for column "Column 13" was not found.
Error: An error occurred while processing file "mdc_msc.csv" on data row
2003.
Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on
component "Source -
mdc_msc_csv"(1) returned error code 0xC0202092. The componenet 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.
Thanks for any comment. I wish I could present this to a Microsoft SSIS
expert.