Symptom
- Error 4002 is returned when connecting to ASE database
- With direct connection using isql or other connection tool:
Msg 4002, Level 14, State 1:
Server '<SID>':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
- Or in ABAP or Java applition, for example as seen in dev trace (dev_w0) file:
B ***LOG BY2=> sql error 4002 performing CON [dbsh 1263]
B ***LOG BY0=> [ASE Error SQL4002][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Login failed.
[dbsh 1263]
B ***LOG BY2=> sql error 4002 performing CON [dblink 644]
B ***LOG BY0=> [ASE Error SQL4002][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Login failed.
[dblink 644]
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0 for Business Suite
- SAP Business Warehouse (BW) - All versions
Product
Keywords
ASE, isql, sapsa, password, sapsso, "login failed", 4002, Sybase , SAPSR3 , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BW-SYS-DB-SYB , BW on Adaptive Server Enterprise , 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.
SAP Knowledge Base Article - Preview