on 09-17-2020 12:55 PM
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
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"...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
8 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.