SAP Knowledge Base Article - Preview

2663044 - jConnect fails to connect to ASE using debug jar with ASSERTION TDS token should be PARAMFMT (236), instead it is 32 - SDK for SAP ASE


Using jconn4d.jar a jConnect application cannot connect to ASE database with error message:

java.lang.RuntimeException: ASSERTION: [TDS token should be PARAMFMT (236), instead it is 32] on class com.sybase.jdbc4.tds.SecLoginContext failed in thread main.
at com.sybase.jdbc4.jdbc.ErrorMessage.raiseRuntimeException(
at com.sybase.jdbc4.utils.Debug.asrt(
at com.sybase.jdbc4.tds.SecLoginContext.extractServerPublicKey(
at com.sybase.jdbc4.tds.Tds.processLoginAckToken(
at com.sybase.jdbc4.tds.Tds.doLogin(
at com.sybase.jdbc4.tds.Tds.login(
at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(
at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(
at com.sybase.jdbc4.jdbc.SybConnection.<init>(
at com.sybase.jdbc4.jdbc.SybConnection.<init>(
at com.sybase.jdbc4.jdbc.SybDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at Test.main(



  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP03
  • jConnect
    • JDBC 16 (is version JDBC 7.0.7)


SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0


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 ONE Support launchpad (Login required).

Search for additional results

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