Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Former Member
replied

Amit,

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

Eddy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question