We are using SAP B1 9.0 PL 8.0 UK Localization.
While we are trying to connect SAP B1 using DI API to server we got following error.
Unable to access SBO-Common database
ERROR Code: -111.
Please find below parameter we used.oCompany.Server = "SAP01";
oCompany.UserName = "manager";
oCompany.Password = "3223Password";
oCompany.language = BoSuppLangs.ln_English;
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2008;
oCompany.CompanyDB = "NewDB";
oCompany.DbUserName = "sa";
oCompany.DbPassword = "1234";
Using the same code to connect to server on local computer works perfectly
We have also tried to use the oCompany.LicenseServer object but it also fails.