SAP Knowledge Base Article - Preview

2385707 - How to resolve error 10351 'not a valid user in database' - SAP ASE


  • ASE returns Error 10351 :Msg 10351, Level 14, State 1 for an user id: 

Server user id # is not a valid user in database '<db_name>

  • For SAP Netweaver applications running on ASE, the error may, or not, references user id 4 as not being valid in the sybsecurity database in the System Log and developer trace file:
    ***LOG BY0=> [ASE Error SQL10351][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Server user id 4 is not a valid user in database 'sybsecurity' 



  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite


SAP Adaptive Server Enterprise all versions


10351, sybsecurity, message, syslogins, sp_adduser, invalid user, wrong id , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite 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 ONE Support launchpad (Login required).

Search for additional results

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