2441366 - SQLSTATE = S1010 [Microsoft][ODBC Driver Manager] Function sequence error - SAP PB | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2441366 - SQLSTATE = S1010 [Microsoft][ODBC Driver Manager] Function sequence error - SAP PB

Symptom

  • An ODBC connection to connect to Microsoft SQL Server 14 and using UPDATEBLOB is resulting in the following error:
    • SQLSTATE = S1010 [Microsoft][ODBC Driver Manager] Function sequence error. 
  • This error occurs when using SQLNCLI1.dll, ODBC 13 (MSODBCSQL13.dll) and ODBC 11 (MSODBCSQL11.dll) drivers. 
  • A SNC SQL Native Client connection works as expected with no error 
  • Blob column defined as varbinary(max)
  • The pbodb126.ini in the correct init path has been updated with the following:
    • PBMaxBlobSize='2147483647'
    • PBMaxTextSize='2147483647'

Read more...

Environment

  • SAP PowerBuilder 12.6
  • Microsoft® ODBC Driver 13 for SQL Server®
  • Microsoft® ODBC Driver 11 for SQL Server®

Product

SAP PowerBuilder 12.6

Keywords

cr806344, cr 806344, SNC, UpdateBlob, SelectBlob , KBA , BC-SYB-PB , Powerbuilder , 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.