Skip to Content
0

Intento conectarme a la base de datos a traves del DI API y me presenta problemas

Jul 14, 2017 at 03:55 PM

248

avatar image

esta es mi cadena de conexion:

======================================================

Dim oCompany As SAPbobsCOM.Company

Dim lRetCode, ErrorCode As Long

Dim ErrorMessage As String

Set oCompany = New SAPbobsCOM.Company

oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2008 oCompany.DbUserName = "sa"

oCompany.DbPassword = "*******"

oCompany.Server = "SERVIDOR"

oCompany.CompanyDB = "SAP_PRODUCCION"

oCompany.UserName = "manager "

oCompany.Password = "1234"

oCompany.UseTrusted = False

lRetCode = oCompany.Connect()

If lRetCode <> 0 Then

errorT = oCompany.GetLastErrorDescription

MsgBox ("Error conectando: " + errorT)

End If

======================================================

El sistema me presenta multiples problemas, me dio por probar con diferentes versiones del DI API y curiosamente cada uno presenta un error diferente y no logro conectarme a la base de datos.

Estos con los errores que aparecen:

8.9, database server type not supported

9.0, el nombre del recurso especificado no se encuentra en el archivo de imagen

8.82 Error conectando: The TAO NT Naming Service has stopped

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers