Marius Roets

I receive the following error when I try to call a Magic component (Build by the product eDeveloper - www.magicsoftware.com) from workflow.

{"Unable to cast COM object of type 'CRSCom.CRSComClass' to interface type 'CRSCom.DCRSCom'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{65D8CFBF-9D14-48E7-ADBE-4C5D512E5B4B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."}

When I make the same call from the host program to the Magic component it work correctly.

I think it is something I do not understand how workflow classes handle 3rd party components.

Can somebody help me, please

Regards,

Marius Roets



Re: Windows Workflow Foundation Error from workflow when try to call 3rd party Magic software component DLL

Mahendra - MSFT

It should work fine. Can you please share your workflow




Re: Windows Workflow Foundation Error from workflow when try to call 3rd party Magic software component DLL

Marius Roets

Hi

We decided as the application architects that the integration into the 3rd party component with all its challenges in workflow foundation is not the right architecture. We build an webservice infrastructure for the destination application and use the InvokeWebService activity to exchange information.

What we did pickup of the 3rd party generated COM component is that it not thread save and multiple instances of the component can not be created.

Thanks for the feedback on this issue

Marius