2 weeks ago
Dears,
I am using IIS service to connect SAP Business One 10.00.170 FP 2108 via DI API using following code which works perfectly , recently we upgraded to SAP Business One 10.00.210 FP 2305 and facing following error while connecting to DB.
-132 Error during SBO user authentication
public SAPbobsCOM.Company fnGetCompany()
{
oCompany = new Company();
oCompany.Server = "NDB@SAPHANA:30013";
oCompany.LicenseServer = "SAPHANA:40000";
oCompany.DbServerType = BoDataServerTypes.dst_HANADB;
oCompany.CompanyDB = "TEST_COMPANY";
oCompany.UserName = "manager";
oCompany.Password = "****";
oCompany.DbUserName = "****";
oCompany.DbPassword = "*****";
oCompany.UseTrusted = true;
oCompany.language = BoSuppLangs.ln_English;
oCompany.SLDServer = "SAPHANA:40000";
int result = oCompany.Connect();
if (result != 0)
{
MessageBox.Show( oCompany.GetLastErrorCode() + " " + oCompany.GetLastErrorDescription());
}
return oCompany;
}
What could be possible reasons ? @ANKIT_CHAUHAN
Hi staseeb,
Can you make sure that the Server and SLDServer values are correct and are in same case-letters?
If yes, there is no need for DBUserName, DBPassword or UseTrusted. Check the issue after removing those properties.
Also, refer to SAP KBA 3394748 if you have the same issue mentioned there.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
9 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.