Error Message: 'No Metadata Class Defined for Data Contract Object'
    • 20 Mar 2024
    • 1 Minute to read
    • Contributors
    • PDF

    Error Message: 'No Metadata Class Defined for Data Contract Object'

    • PDF

    Article summary

    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:


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.