SAP Knowledge Base Article - Preview

3492950 - The SOLMAN_SETUP wizard fails with ”Invalid string or buffer length“ when configuring a new system on SQL Server 2022 -NetWeaver

Symptom

  • The SOLMAN_SETUP wizard fails when configuring a new system on SQL Server 2022. "Setup DBA Cockpit connection" fails with:
    SQL error 99 : Invalid string or buffer length

  • Dev trace shows following details:

    ***
    C  DoConnExecute connecting.
    C  ERROR: -1 in function DoConnExecute (SQLAllocStmt) [line 24142]
    C  (99) [HY090][Microsoft][ODBC Driver Manager] Invalid string or buffer length.
    C  DoConnExecute finished
    C  dbdsmss: DBSL99 SQL0
    C  [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The statement has been terminated.
    B  ***LOG BY2=> sql error 0 performing FET [dbds         602]
    B  ***LOG BY0=> [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The statement has been terminated. [dbds         602]
    C  DbSlCommit96: suspicious lnChk or locatorNumber
    C  connect_timeout(0),noconn(1),lnChk1(0),locatorNumber(0),lnChk2(0),force_committedread(0),lock_timeout_ms(-1) 
    ***


Read more...

Environment

  • The Solution Manager system is running on NetWeaver 740 SP29
  • Target SQL Server 2022

Product

SAP Solution Manager all versions

Keywords

 Invalid string or buffer length , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , 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.