Skip to Content

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers