- Print
- PDF
Error Message: 'No Metadata Class Defined for Data Contract Object'
Article summary
Did you find this summary helpful?
Thank you for your feedback
This article provides a solution for the following error that maybe appear in AX 2012:
Error
No metadata class defined for data contract object.

This error is caused by custom code and occurs after an upgrade from an older Lasernet Connector version to 4.2.x.x.
Resolution
To correct this, go through all your LACCustomCode one by one and change the code according to the following image. This is an example from an older Lasernet Connector version and version 4.2.x.x:
