on 11-29-2016 12:23 PM
Hello friends,
I have successfuly connected a Visual Studio project to DI-API in a SAP BO with SQL SERVER database environment. I used the SAPbobsCOM.cll. Now we have HANA and I guess the code to connect to the DI-API are very similar. But I'm getting the error -119 database type not supported.
I'm using SAPBusinessOneSDK.dll (We have SAP 9.2), and this is my code:
DI.Server = "hanab1:30015";
DI.LicenseServer = "hanab1:40000";
DI.CompanyDB = companyDB;
DI.DbServerType = BoDataServerTypes.dst_HANADB;
DI.DbUserName = "SYSTEM";
DI.DbPassword = "********";
DI.UserName = companyUser;
DI.Password = companyPassword;
DI.language = BoSuppLangs.ln_English;
DI.UseTrusted = false;
Any help will be very appreciated.
Generally, "database type not supported" means that you are running your program on a machine that has the SQL version of DI API installed instead of the HANA DI API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.