SAP Knowledge Base Article - Preview

2281126 - ADO.NET: Error "Object reference not set to an instance of an object" when executing stored procedures with multiple result sets - SDK for SAP ASE

Symptom

  • Using ADO.NET Provider and stored procedures with multiple result sets
  • The following error is raised if the result set starts with A7 or A8:
    • Object reference not set to an instance of an object.


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 SP126 and higher
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
    • 2.0 Provider ( Sybase.AdoNet2.AseClient.dll )
    • 3.5 Provider ( Sybase.AdoNet35.AseClient.dll )
    • 4.0 Provider ( Sybase.AdoNet4.AseClient.dll )
    • 4.5 Provider ( Sybase.AdoNet45.AseClient.dll )
  • Microsoft Visual Studio
  • Microsoft Windows x86 (32-bit)
  • Microsoft Windows x64 (64-bit)

Product

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

Keywords

ADONET, .net, Sybase.Data.AseClient, CR784504, CR#784504, 784504, crash , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Known Error

About this page

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

Search for additional results

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