cancel
Showing results for 
Search instead for 
Did you mean: 

SDK/Java Con.: connect() fails

Former Member
0 Kudos

I am making a connection with sdk-java to bisness one and

have a doubt with the SBOServer.dll file since

I do not have it in my PC and me this generating error

when using the object connect.

Question:

So that I do not have it?

It is the cause of my error?

as it I can obtain this .dll?

As I can solve this error?

The components .jar and .dll if I have them in the route:

C:\Archivos de programa\SAP Manage\SAP Business One\SDK\Java Connector\lib

SBOAPI.JAR, SBOJNI.DLL y el SBOWRAPPER.JAR

The error is:

sbojni.dll loaded

Exception in thread "main" com.sap.smb.sbo.api.SBOCOMException: Error de Conexio

n al server: A COM exception has been encountered:

At Invoke of: Connect

Description: An unknown COM error has occured.

at sbo.main(sbo.java:73)

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185703
Active Contributor
0 Kudos

Hi Abed,

I did not yet do anything with the JCo, so maybe this does not help, but did you remember to install the DI API?

Regards,

Frank

Former Member
0 Kudos

Hello.

The version of the file sbojni.dll was incorrect.

greetings.