SAP Knowledge Base Article - Preview

3240786 - Error: "Deleting SAP license failed" during system rename for SID

Symptom

You are doing system rename via SWPM.


It stops and shows the following error(sample).

In dev_likey.log, the following error can be found.

...

(18456) [28000] [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Login failed for user 'XXXX\<newsid>adm'.
ERROR: -1 in function SQLConnectWithRetry (SQLConnectWithRetry) [line 2981]
(4060) [42000] [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Cannot open database "<oldsid>" requested by the login. The login failed.
ERROR: -1 in function SQLConnectWithRetry (SQLConnectWithRetry) [line 2981]

...

***LOG BY2=> sql error 18456  performing CON [dblink       544]
***LOG BY0=> Login failed for user 'XXXX\<newsid>adm'. [dblink       544]
*** ERROR => saplikey: failed to connect to the database. [saplikey_w.c 762]

The log is an example.


Read more...

Environment

ABAP system SID rename via SWPM.

Product

SAP NetWeaver all versions

Keywords

"system rename" "Deleting SAP license failed", "saplikey: failed to connect to the database" , KBA , BC-INS-SRN , System Rename Utility , 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.