I am trying to upgrade an addon that was written for SBO <b>2004 to 2005</b>. I updated the Sapboboscom and SAPBouiCOM dll's in the project. I then tried to execute code that connected to the DI api and I got a <b>" -111 Cannot connect to SBOCommon"</b> message.
frmMain.oCompany= new SAPbobsCOM.Company(); frmMain.oCompany.Server = modcb.cbApp.ServerName; frmMain.oCompany.CompanyDB = modcb.cbApp.DBName; frmMain.oCompany.UserName = modcb.cbApp.SAPUName; frmMain.oCompany.Password = modcb.cbApp.SAPPwd; frmMain.oCompany.UseTrusted= modcb.cbApp.IsTrustedConn; retValue = frmMain.oCompany.Connect();
I then tried connecting to using the DBusername and DBpwd,
I am getting the following error:
<b>107- Wrong user anme or password</b>
c.Server="twbsvm"; c.CompanyDB="SBODemo_US"; c.DbUserName="sa"; c.DbPassword="sa"; retValue=c.Connect();
I double checked the sa passwored and it is correct. I m not sure why its coming back with the above mentioned error.
Have any of you come across this while working with 2005 addons.
Any help is appreciated
Gopal