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?