Skip to Content
avatar image
Former Member

cant find moniker

hello all,

i am developing a webshop programmed in Java / JSF and would like to connect my application with SAP Business One using the SDK. We already have the Java Connector and the required DLL's as well (till what i know). When i am creating a ICompany Object using -

ICompany company = SBOCOMUtil.newCompany();

i get the following error .

Exception in thread "main" com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker

at com.sap.smb.sbo.wrapper.com.Dispatch.createInstance(Native Method)

at com.sap.smb.sbo.wrapper.com.Dispatch.<init>(Unknown Source)

at com.sap.smb.sbo.wrapper.activeX.ActiveXComponent.<init>(Unknown Source)

at com.sap.smb.sbo.api.SBOCOMUtil.newCompany(Unknown Source)

at SAPBusinessOne.main(SAPBusinessOne.java:22)

COuld anyone please tell me where can find moniker or how i can resolve this problem.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 02:40 PM

    Amit,

    Did you install the DI API on the workstation and then as part of the install ... install the JCO?

    Eddy

    Add comment
    10|10000 characters needed characters exceeded