SAP Knowledge Base Article - Preview

2249595 - Error 2946 "Failed to create service key syb_xpskey" when xp_cmdshell is executed on a user database. - SAP ASE


  • When a user runs xp_cmdshell on a user database, the following error message appears in the ASE errorlog before XP Server starts:

server  Error: 2946, Severity: 16, State: 5
server  Failed to create service key syb_xpskey.
kernel  XP Server started successfully.

  • xp_cmdshell returns the result normally even though this error is logged.
  • This issue is encountered after applying ASE 15.7 SP135



SAP Adaptive Server Enterprise  (ASE) 15.7 and 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


XPserver, 792728, CR792728 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.