Skip to Content
0

Error when trying to connect to server using the JAVA SAP Business One DI API

Oct 27, 2017 at 03:45 PM

75

avatar image

I am getting this strange error message when compiling the application:

com.sap.smb.sbo.wrapper.com.ComFailException: Can't map name to dispid: Server
at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Native Method)
at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Unknown Source)
at com.sap.smb.sbo.wrapper.com.Dispatch.invoke(Unknown Source)
at com.sap.smb.sbo.wrapper.com.Dispatch.put(Unknown Source)
at com.sap.smb.sbo.api.Company.setServer(Unknown Source)
Caused by this line: company.setServer(“(local)”);

Any idea what might be causing this?

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

0 Answers