Skip to Content
0
Former Member
Sep 12, 2007 at 04:01 PM

Error -111 Conecting Database (SBO 2007)

15 Views

Hi gurus.

I'm developing an addon with SBO 2007 and I create another company object for referencing different Database

I conect this one like:

oCompany2.Server = oCompany.Server
oCompany2.LicenseServer = oCompany.Server & ":30000" 
oCompany2.CompanyDB = mMatriz.Columns.Item("c_bbdd").Cells.Item(i).Specific.string
oCompany2.UserName = lUsuario
oCompany2.Password = lPassword
oCompany2.UseTrusted = True
oCompany2.Connect

Obtaining error code -111: Failed to Connect to SBOCommon

User, password and LicenseServer are ok.

Any ideas?

Thnx in advance!