April 9, 2010 at 4:20 pm
We are using ADO net connection for both SQL 2008 and AS400,
when I am trying to insert all the data from the sql 2008 table(about 66k rows), only about 44 rows are getting inserted into the AS400 file and then it errors out with below error:
[ADO NET Destination [457]] Error: An exception has occurred during data insertion,
the message returned from the provider is:
ERROR [07002] [IBM][iSeries Access ODBC Driver]Wrong number of parameters.
April 11, 2010 at 3:26 pm
How to trouble shoot where the problem is? Any ideas. Thanks.
April 27, 2010 at 9:52 am
Any body can help on this, I need this urgently. Thanks!!
April 27, 2010 at 9:56 am
Mh-397891 (4/11/2010)
How to trouble shoot where the problem is? Any ideas. Thanks.
Check the source data in row 45. There must be something 'different' in it which is causing the error ...
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
April 27, 2010 at 9:58 am
There is no difference in the data. I am very frustrated with this error.
April 27, 2010 at 11:46 am
Mh-397891 (4/27/2010)
There is no difference in the data. I am very frustrated with this error.
Understandably. Does it always process exactly 44 rows? If so, can you try reading in the data in a different order, just to make sure that this is not data related? If you do this and the answer is still 44, I shall be extremely puzzled!
Is your package doing any complex processing or manipulation?
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
April 28, 2010 at 7:41 am
Mh-397891 (4/9/2010)
We are using ADO net connection for both SQL 2008 and AS400,when I am trying to insert all the data from the sql 2008 table(about 66k rows), only about 44 rows are getting inserted into the AS400 file and then it errors out with below error:
[ADO NET Destination [457]] Error: An exception has occurred during data insertion,
the message returned from the provider is:
ERROR [07002] [IBM][iSeries Access ODBC Driver]Wrong number of parameters.
This looks like buggy IBM ODBC driver. I have one suggestion to try, but it requires third-party commercial component. I'm talking about CozyRoc's ODBC Destination component. It supports both regular and bulk-load insert.
April 28, 2010 at 10:25 am
I agree with Phil.
There must be some character like " ' " or something thats not allowing the transfer.
Can you give us a snapshot/column & their datatypes of the 2 tables in both sql server and as/400?
Rex Smith
May 13, 2010 at 8:24 am
Hi.
Have you been able to resolve this problem? I am getting the same error.
Does not always fail on the same row.
This is very frustrating --- this is just a simple import into the iSeries.
April 15, 2014 at 4:15 am
I understand this is an old thread but for who are faicng this issue, this might can help them
you can map upto a maximum of 5 columns and it will execute successfully.(it worked for me)
Might be this can be a bug not sure :hehe:
Use multicast if possible in your scenarios:-)
Hope this helps !!
Thanks
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply