cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA 10.0 DI API "Error during SBO user authentication"

pdomingues
Explorer
0 Kudos

Hello.
I have Visual Basic application that was working with SAP 9.3, using DI API.
When running now in SAP 10.0, and after i changed the DI API reference from 9 to 10, i always get the error
"Error during SBO user authentication"

This is the sample code i'm using....
Any sugestions to solve that?

Set oCompany = New SAPbobsCOM.Company

oCompany.CompanyDB = "SBO_DEMOPT"
oCompany.DbServerType = 9 'dst_HANADB
oCompany.Server = "192.168.0.7:30015"

oCompany.UserName = "manager"
oCompany.password = "***********"
oCompany.UseTrusted = False
oCompany.language = 19
oCompany.DbUserName = "SYSTEM"
oCompany.DbPassword = "***********"

oCompany.Connect
oCompany.GetLastError lErrCode, sErrMsg

View Entire Topic
pdomingues
Explorer
0 Kudos

UPDATE:
Changing the Server name to the same name that appears in System Landscape Directory

oCompany.Server = "NDB@192.168.0.7:30013"

i obtain the error: "Unable to access SBO-Common database"...