SAP Knowledge Base Article - Preview

2477551 - Unable to read SQLState and NativeError - SDK for SAP ASE


  • Upgrade from SDK12.5.1 to SDK 15.7
  • NativeError property in OledbException Errors collection returns 0Message:
    [Message Class: 16]
    [Message State: 1]
    [Transaction State: 1]
    [Server Name: ASE157]
    [Native Code: 208]
    [ASEOLEDB]Database..Table not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).

    NativeError: 0    <------  Native Error is not 208
    Source: ASEOLEDB
    SQLState:         <------  Not populated



  • SAP Sybase Software Developer Kit (SDK) 15.0
  • SAP Sybase Software Developer Kit (SDK) 15.5 ESD xxx
  • SAP Sybase Software Developer Kit (SDK) 15.7 ESD xxx
  • SAP Sybase Software Developer Kit (SDK) 15.7 SPxxx
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SPxxx PLxx
  • Adaptive Server Enterprise OLE DB Provider by Sybase
  • Microsoft Windows x86 (32-bit)
  • Microsoft Windows x64 (64-bit)
    • win 7/8/10 2008/2008 R2, 2012/2012 R2
  • VB (Visual Basic 4.0/5.0/6.0/ .NET


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


KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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 for Me (Login required).

Search for additional results

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