SAP Knowledge Base Article - Preview

2352091 - AseBulkCopy with unsigned int / bigint returns error – SDK for SAP ASE


When using ENABLEBULKLOAD = 2 on the connection string and doing an AseBulkCopy (BCP) of a group of columns where the last one is of type “unsigned bigint” OR “unsigned int”, the driver returns the following error:

Bad row data received from the client while bulk copying into object...Received a row of length … whilst maximum or expected row length is …


Premature end-of-message while reading current row from host. Host program may have died



  • SAP Sybase Software Developer Kit (SDK) 15.7 SP122 and higher
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP02 PL04
  • Adaptive Server Enterprise ADO.NET Data Provider
    • 4.0 Provider ( Sybase.AdoNet4.AseClient.dll )
  • Any ASE Server Version


SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7


adonet, ADONET, SDK, SDK SAP ASE, Software Developers Kit, Sybase, enablebulkload, big int, bulk load, bcp, integer , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.