SAP Knowledge Base Article - Preview

1955037 - OLEDB error "COUNT field incorrect" or "Attempt to read or write protected memory" - SDK for SAP ASE

Symptom

  • Creating a Visual Studio Report using OLEDB
  • create temp table + select into + select being executed in a query.
    SDK 157ga generates this error:
    Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
    ? [07002] [Native Code: 30070] [ASEOLEDB]COUNT field incorrect
  • Upgrading to SDK 15.7 ESD#7 generates this error:
    Attempted to read or write protected memory.


Read more...

Environment

  • SAP Software Developer Kit (SDK) 15.7
  • Sql Server Reporting Services 2008 R2
  • Sybase ASE OLEDB Provider 15.7.0.80
  • odbc
  • Script Version Status
    OLEDB MDA Scripts 15.5.0.1012.1000/Tue 04-06-2010 20:23:52.35 Complete

Product

Sybase SDK 15.7

Keywords

Attempted to read or write protected memory, [ASEOLEDB]COUNT field incorrect, ASE OLE DB, oledb, parameters, query, @value, @parameter, @param, , KBA , BC-SYB-SDK , SDK , Problem

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.