G
Guest
Running a VB.Net console application that uses data from a VB.Net webservice.
Both the data sent and received are accessed with strongly-typed datasets.
With dsMapping
ds = WS.WorkOrdersForReprint(StoreId)
.EnforceConstraints = False
.Merge(ds)
End With
The above generates this error message at the Merge statement:
"<target>.PrimaryKey and <source>.PrimaryKey have different Length."
The key length is 1 (one column) and type is integer for both ds and
dsMapping.
This works except for one table. Any ideas as to what is wrong and how to
correct?
Thanks.
Both the data sent and received are accessed with strongly-typed datasets.
With dsMapping
ds = WS.WorkOrdersForReprint(StoreId)
.EnforceConstraints = False
.Merge(ds)
End With
The above generates this error message at the Merge statement:
"<target>.PrimaryKey and <source>.PrimaryKey have different Length."
The key length is 1 (one column) and type is integer for both ds and
dsMapping.
This works except for one table. Any ideas as to what is wrong and how to
correct?
Thanks.