Conect to sap b1 10.00.110 via DI aPI

4 months ago 23

Dears,

I americium utilizing vb.net to link SAP Business One 10.00.170 via DI API utilizing pursuing codification which works perfectly , but erstwhile one effort to conect to 10.00.110 and facing pursuing mistake portion connecting to DB.

-132 Error during SBO idiosyncratic authentication
public SAPbobsCOM.Company fnGetCompany()
{
oCompany = caller Company()
oCompany.Server = "10.10.50.101"
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2017
oCompany.CompanyDB = "TEST_COMPANY"
oCompany.UserName = "manager";
oCompany.Password = "****";
oCompany.DbUserName = "****";
oCompany.DbPassword = "*****";
oCompany.UseTrusted = true;
oCompany.language = BoSuppLangs.ln_English;
int effect = oCompany.Connect();
if (result != 0)
{
MessageBox.Show( oCompany.GetLastErrorCode() + " " + oCompany.GetLastErrorDescription());
}
return oCompany;

}

What could beryllium imaginable reasons ?

Read Entire Article