You are on page 1of 4

8/24/22, 3:16 AM Unable to connect ECC application to HANA/ hdbuserstore error | SAP Blogs

Community Topics Groups Answers Blogs Events Programs Resour

Ask a Question Write a Blog Post Login

Technical Articles

Srijan Sanyam
August 23, 2022
| 1 minute read

Unable to connect ECC application


to HANA/ hdbuserstore error

Follow  0  0  29

Being a BASIS consultant or a HANA administrator, we face situations several


 Like times where we have to connect DB with an application server. Although it is
pretty much a straight forward process, but sometime a situation arises where
this “NOT SO DIFFICULT” process throws errors at us.
 RSS Feed
One such scenario that i faced was due to the fact that the application server
installation was Local installation rather than being a Domain installation. The
below resolution is for cases where the application server is locally installed and
the <SID>adm, SAPService<SID> users are local.

This below text can be considered as once of the probable solution to the isue.

The Issue
 

Error 91001: System Call ‘LookupAccountName’ faied, rc=1332: No mapping


between account names and security IDs was done

To connect a db to application server , we key in below three commands:

https://blogs.sap.com/2022/08/23/unable-to-connect-ecc-application-to-hana-hdbuserstore-error/ 1/4
8/24/22, 3:16 AM Unable to connect ECC application to HANA/ hdbuserstore error | SAP Blogs

hdbuserstore -u <domain name>\SAPService<SID> SET DEFAULT <DB Server


ip>:<index server port> SAPABAP1 <password>

hdbuserstore SET DEFAULT <DB Server ip>:<index server port> SAPABAP1


<password>

hdbuserstore SET SUPER <DB Server ip>:<index server port> SYSTEM


<password>

If after the first command the error shown in the screenshot above pops up (
Pasting the error below for your convenience), follow the steps

“Error 91001: System call ‘LookupAccountName’ failed, rc=1332:No mapping


between account names and security IDs was done”

STEP 1: Check whether the installation performed is domain or local. To check it


you can ask the person who did it otherwise you can go to services.msc and there
check whether the user running your SAP services has a domain prefix to it or
not. if the user looks something like the one shoen below then it is a local
installation(dot is included)

.\SAPService<SID> or HOSTNAME\SAPService<SID>

Once confirmed that it is a local installation , in the first command replace the
<domain name> with the computer name of your application server and not the
FQDN, just the computer name and then you can proceed

This is valid only for windows. In linux systems you can only run the last two
commands and the first command is not needed.

In a nutshell we have explained the process of connecting HANA DB to SAP


application both on Windows and Linux machines.

Please share your feedback if you face such issue and this blog helps you out.
Also suggestions are welcome. Please follow for more updates.

Regards

Srijan Sanyam

Alert Moderator

Assigned Tags

https://blogs.sap.com/2022/08/23/unable-to-connect-ecc-application-to-hana-hdbuserstore-error/ 2/4
8/24/22, 3:16 AM Unable to connect ECC application to HANA/ hdbuserstore error | SAP Blogs

SAP ERP

SAP HANA

SAP S/4HANA

Similar Blog Posts 


Step-by-step guide to implement HANA Live Modeling Scenarios
By
Mohammad Safiullah Jun 11, 2014

Understanding SAP Versions


By
Joseph Chinnabathini Jul 29, 2020

BRF+ Output Management


By
Ruthvik Chowdary Dec 18, 2019

Related Questions 
Connecting SAP ABAP AS post database migration from HANA 1.0 to HANA 2.0 on new hardware
By
Vijish An Feb 27, 2022

ECC cannot transfer data to marketing cloud


By
Fei Zhu Jul 31, 2019

Diff bet diff versions


By
Former Member Oct 29, 2007

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Find us on

https://blogs.sap.com/2022/08/23/unable-to-connect-ecc-application-to-hana-hdbuserstore-error/ 3/4
8/24/22, 3:16 AM Unable to connect ECC application to HANA/ hdbuserstore error | SAP Blogs

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Newsletter Support

https://blogs.sap.com/2022/08/23/unable-to-connect-ecc-application-to-hana-hdbuserstore-error/ 4/4

You might also like