Skip to main content

Attempt was made to do operation on recordset with no current record error uploading Batch to Central Site


QAID # 17032 Published

Question / Problem:

I am receiving an error message similar to the following when trying to upload a Batch to the Central Site:

9/19/2012 3:51:51 PM, -2146233088, KdoRecordsetData.cpp:
1140;BatchInserter.CallWorkflowAgents (0);BatchInserter.EndInsertBatch
(20);ACIServer.EndInsertBatch (120), SDbob2520, Server Version: 10.0.3122, TID:
66eb9fdc-004a-4d17-9b27-5d31a218c576, Remote Site: SSmothn138518, SSmothn138518,
10.0.3122, ACISV: [4050] KdoLib: An attempt was made to do a operation on recordset
with no current record., at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object
Source, Object Description, Object HelpFile, Object HelpContext)

How can I resolve this issue?

Answer / Solution:

This error can be caused by having an empty Document in the Batch.

In such a case, deleting the empty Document, saving and closing the Batch, and resending the Batch should allow it to be successfully uploaded to the Central Site.

Applies to:

Product Version

Keywords: 4050, [4050], -2146233088