Failed To Connect To SBOCommon
I recently started to attempt an integration from a business app into SAP Business One using the SDK. I can create the com objects and set the connection values, but when I attempt to connect I receive "Failed To Connect To SBOCommon" which is error 111. When I run the basic operations sample from the SDK I receive the same issue.
The SQL Server database is there and the credentials that I pass should be good. I can connect to the database using an ODBC driver and so I don't believe that it is a permissions issue. Am I missing a licencing component?
Any help would be appreciated.
Andrea Gigliotti replied
i have your same issue connecting to the sap company database.
i'm using DI API 2005 and MSSQL 2005.
below my code:
oCompany.Server = "MSIE7";
oCompany.CompanyDB = "SBODemo_IT";
oCompany.UserName = "manager";
oCompany.Password = "manager";
oCompany.language = SAPbobsCOM.BoSuppLangs.ln_Italian;
oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005;
oCompany.UseTrusted = true;
lRetCode = oCompany.Connect();
i get lRetCode = -111
have you solved this issue?
thanks in advance