Hi experts,
I'm having problem with a Web Service which execute DI API commands.
During the initial company.connect I'm using the following basic code:
oCompany = New SAPbobsCOM.Company
oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2008
oCompany.LicenseServer = "ServerName:30000"
oCompany.Server = "ServerName:30000"
oCompany.CompanyDB = "DBName"
oCompany.DbUserName = "SA"
oCompany.DbPassword = "password"
oCompany.UserName = "manager"
oCompany.Password = "password"
oCompany.UseTrusted = False
dConnInt = oCompany.Connect
If dConnInt <> 0 Then
oCompany.GetLastError(errcode, erMsg)
End If
It is working just fine in one server.
However when I try to migrate to another server, it always returns ErMsg 'Database server type not supported'.
I have tried to install SQL 2008 R2 Native Client and the DIAPI, but the error remains.
I also have compared the installed "program and features" between the existing and the new server, all identically the same.
Have anyone encounter the same issue? Please advise what should I do to resolve this.
Thanks
Best Regards,
Krisma