cancel
Showing results for 
Search instead for 
Did you mean: 

-132 Error during SBO user authentication

staseeb
Active Participant
0 Kudos

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 

staseeb
Active Participant
0 Kudos

@ANKIT_CHAUHAN

 

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

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

Answers (0)