cancel
Showing results for 
Search instead for 
Did you mean: 

Failed Connect Di API Sap with HANA .

Former Member

Hi everyone.

I've benn trying to connect to SAP with Hana using DI API. but Im getting this error

unable to retrieve observerdll.dll from server; table sinf is missing

This is my code.

I've changed the server names and use the IP of the server and nothing.

If someone could help me on this I'd appreciate it so much.

oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_HANADB; 
                oCompany.Server = "servername:30015";
                oCompany.UseTrusted = false;
                oCompany.DbUserName = "username";
                oCompany.DbPassword = "******";
                oCompany.CompanyDB = "dbname";
                oCompany.UserName = "manager";
                oCompany.Password = "manager";
                oCompany.LicenseServer = "servername:40000";
<br>

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member193355
Contributor

Have your problem solved ? Pls kindly share your solution. Thank you

marco_simoncelli
Explorer
0 Kudos

Are you using version 9.x or 10 ?

In version 10 the server parameter has changed in the new format SID@<Server Name/IP of Server A>: 30013).ex. NDB@servername:30013 as you can see in AdminGuide or B1 client login:

I'm looking about documentation for this change.

This format for server name seems it's not working to create a direct AdoNet connection for fast reads, it seems it work onlhy with the "old" format servername:30015.

Usually you don't need to set LicenseServer property if it's in the same server.

Have a look at this:

https://blogs.sap.com/2019/04/29/how-to-make-a-di-api-connection-the-right-way.../

How to make a DI-API Connection – “The right way”…

0 Kudos

I had the same problem in a CCC environment with hana database, anyone can help?