on 05-10-2018 5:17 AM
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>
Have your problem solved ? Pls kindly share your solution. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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”…
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem in a CCC environment with hana database, anyone can help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.