SAP Knowledge Base Article - Preview

2663094 - Error connecting to ASE using isql "There is a protocol packet error. An illegal length was received." - SAP SDK


While trying to connect to an ASE server via isql the connection could not be made and the following error is seen:

Ct_results(): network packet layer: external error: There is a protocol packet error. An illegal length was received.
[ number 18 - severity 5 - layer 5 - origin 1 ]

How is this error resolved?



  • SAP Adaptive Server Enterprise
  • SAP Sybase Software Developer Kit (SDK)


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


KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , How To

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.