COM object method return error code 0x80070057 (E_INVALIDARG)

-1

I am facing an interesting problem regarding COM component.

I have registered a COM component '.tlb' on server machine. The COM object is developed by .Net. It is registered by using following command.

c: Regasm myComponent.dll /tlb:myComponent.tlb

I am accessing/utilizing this COM component in two different program on server machine (i.e. Navision Axapta and Dynamics Ax 2009). I have developed wrapped class in these application and thus access COM methods.

Axapta: It is working well in axapta and all methods are works fine. Dynamics Ax: It is working partially well in Dynamics Ax but two of its method return back error.

GenerateRequest in COM object class xxxxxx-xxxx-xxxx-xxxxxx return error code

c#
com
regasm
asked on Stack Overflow Jun 26, 2018 by Lets Do Green

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0