web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Full Compile Failed With too many Errors in System Default Classes and Tables

(0) ShareShare
ReportReport
Posted on by

Hey There,

i was trying to add a new Method to the DEV Environment, so i followed a solution suggesting adding new method to global class so i did so, After that errors started to appear as it all refers to Assembly Problems, i followed solutions on community refers to delete files from XPILL and full compile , but full Compile Shows around 497 Errors in system default Classes and tables, when i ignored the errors and continued to Compile Full CIL , it shows 15 Errors with cannot save assembly info.

even the same scenario appears after deleting this method from global class.and trying to do Full Compilation.

Please Support.

*This post is locked for comments

I have the same question (0)
  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Would you mind sharing some of the x++ compilation errors? Usually any error messages contain valuable information about what's wrong. So it makes sense to include that information if you want others to help with the problem.

    There's no point in attempting to generate CIL before you get rid of the x++ errors.

  • Community Member Profile Picture
    on at

    Syntax error. \Classes\Global\real2double 11 real2double Err:9999

    Operand types are not compatible with the operator. \Classes\Global\numeralsToThaiTxt 51 numeralsToThaiTxt Err:1

    Operand types are not compatible with the operator. \Classes\Global\numeralsToTxt 29 numeralsToTxt Err:1

    Operand types are not compatible with the operator. \Classes\Global\numeralsToTxt_EN 29 numeralsToTxt_EN Err:1

    Operand types are not compatible with the operator. \Classes\Global\numeralsToTxt_FR 207 numeralsToTxt_FR Err:1

    Syntax error. \Classes\Global\clr2XppStr 1 clr2XppStr Err:9999

    Syntax error. \Classes\Global\clrSystemDateTime2UtcDateTime 10 clrSystemDateTime2UtcDateTime Err:9999

    The wrong number of arguments has been specified for the method.  \Data Dictionary\Tables\WorkflowActionTable\Methods\initFromWorkflowActionProperty

    this is a sample from full compilation errors.

    although all this classes and table have no customization

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Are you 100% sure that Global class has no more customization?

    To me it seems you still have something there, and that's causing the errors everywhere in the application (because the class is widely used).

    Could you try to select Global class in AOT, press Delete to remove it completely from your customization layer.

    After that, right click the class, select Compare, and verify that you have only sys and syp layers to choose from.

    Please let us know if this helps.

  • Community Member Profile Picture
    on at

    I'm 100% sure that there is no customization.I can only select sys layer and there is no usr layer.

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Then the problem is not about the customization that you made in the Global class. But without access to your system it's hard to investigate further.

    Maybe you could just restore the whole dev environment from test to get it working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans