cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member530696
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (0)