Translate

Friday, July 13, 2012

AX2012- Error executing code: object does not have method construct

HI,

When working with AX 2012 outbound document service, I faced this issue.
When I clicked the send electronically button on my custom created form, then the I could see the message is queued in queue manager form. On running of the batch I could see status as error with description "Error executing code: <empty class> object does not have method construct".

Solution:

You need to be few things to fix this error. the issue is due to compilation error where the particular method is not found while run time. So perform the following steps.

First, compile all the objects pertaining to a AIF document service.
Secondly, compile the base class - AxInternalBase
At last, select your project node and "Generate incremental CIL".


this will fix this error.



Thanks,
Prasan

2 comments:

  1. Feel free to visit this dynamics blog. This is dynamics technical blog

    Axapta Tutorials free

    ReplyDelete
  2. Awesome. Thanks for the help. I ran into the same problem

    ReplyDelete