I am getting the below error while running a class through batch processing.
"Unable to construct an object from the class XXXXXX in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters."
But, the same class is working fine when i run it normally (not with batch processing).
Can anyone suggest me what might the problem and how can I solve this?
I have a similar message. I have done all the suggested solutions, but still have the same error. Please advise how we can further troubleshoot this issue. The class runs fine when the output is set to screen. This error appears only when submitting the class in a batch mode.