Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

why I canu00B4t bind the DB?

I am using the code below to bind the DB but the linking is not established and shows following error: -8006 Resource Error. How I must decide this problem?

oCompany = New SAPbobsCOM.Company

''oCompany.Server = "SERVER"

oCompany.Server = "EPIS08"

oCompany.DbUserName = "sa"

''oCompany.DbPassword = "sap"

oCompany.DbPassword = "sa"

oCompany.CompanyDB = "SEMORTRADE"

oCompany.UserName = "manager"

oCompany.Password = "manager"

oCompany.language = SAPbobsCOM.BoSuppLangs.ln_Portuguese

oCompany.UseTrusted = False

'// Ligação à base de dados

lRetCode = oCompany.Connect

Former Member
Not what you were looking for? View more on this topic or Ask a question