Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.


The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

Author
Message
Deepesh Verma
Deepesh Verma
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 10

Hi,

I am trying to transfer the data from flat file to sql server.When I am running the package on local server(network server) it works fine.But when I user it to transfer the data to online server it starts and shows 2771 rows transfered and remains on that only. when i stop the execution I get the following errors:

 

[DTS.Pipeline] Error: The pipeline received a request to cancel and is shutting down.

 

[Loose Diamond File [1]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

 

[DTS.Pipeline] Error: The PrimeOutput method on component "Loose Diamond File" (1) 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.

 

[DTS.Pipeline] Error: Thread "SourceThread0" has exited with error code 0xC0047038.

 

Can any one help me to find what the problem is.

Thanks in advance.


Site Owners
Site Owners
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10085 Visits: 1
No one has responded to this topic yet. Even if you don't have a complete answer, the original poster will appreciate any thoughts you have!
subsonic-abercrombie
subsonic-abercrombie
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 156
I wonder if we should check the inputrow buffer for a null value and set a flag to redirect the row to an error table of some sort.
peter.stanford
peter.stanford
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 3
This is not a solution but another example of the same error.

I'm writing a package that compares two tables of the same name in different databases. If the data exists in both tables I want to update the destination table with changes from the source table.

If the data does not exist in the destination table, I want to insert it. I've written a query to select the correct data (SSIS Lookup Query.jpg) and tested that it works (SSIS Lookup Preview.jpg).

I'm new to this so I don't know whether the lookup should be a SELECT or UPDATE but other than that I would have thought this should work?
Attachments
SSIS Error Log.JPG (214 views, 83.00 KB)
SSIS DataFlow_1.JPG (168 views, 15.00 KB)
SSIS DataFlow_2.JPG (129 views, 14.00 KB)
SSIS Lookup Query.JPG (135 views, 28.00 KB)
SSIS Lookup Preview.JPG (132 views, 45.00 KB)
smurug
smurug
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 112
Has any one having any clue?. I'm just stuck up with this without any clue? I'm having the same problem as Grosshopper said.
asellmech
asellmech
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 0
Hello, i just had the exact same problem and just stop using the "fast-load" mode and it is working just fine now, hope it helps.

Regards,
ksk.sep19
ksk.sep19
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 85
i did the same one just by changing the 'table or view fast load' to 'table or view' mode. its working fine now
vasanti mestri
vasanti mestri
SSC Rookie
SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)

Group: General Forum Members
Points: 32 Visits: 152
hey...
i was also facing same problem for same task....

so finally i tried this query in execute task of ssis and it works properly.


INSERT table2( col1, col2, col3 )
SELECT A. col1, A. col2, A. col3
FROM table1 A
LEFT JOIN table2 B ON A.key_PK = B.key_PK
WHERE B.key_PK IS NULL
fred_lauer
fred_lauer
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 63
This happens when you auto-generate a Data Flow step with the import/export wizard. The process doesn't distinguish between a view and a table, so it will copy views in as a table. Make sure to check your source and destination steps that may be trying to copy a view to a view.
ratna_ain
ratna_ain
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 25
I also had same problem.
Have all of you found the solution?

I've tried to change the Data Access Mode of Oledb Destination to from "Table/View Fast Load" To "Table/View". but I still got the same error Crazy

At the beginning of execution,my package run well, I got the error message in the middle of execution and some records have been inserted successfully to destination table.

Thanks a lot.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search