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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to repair Application class which is corrupted through wrong code? AX client not opening.

(0) ShareShare
ReportReport
Posted on by

Hi All,

AX Client is not opening due to wrong code in Application class. Any suggestions to clean up the application class??

Tried to import the Application class from different environment through model via command prompt. Ended up with conflicts but no success.

Please guide me to restore the application class or any other way to open the client, so that can remove wrong codes from the class.

Awaiting for replies.

Kind Regards,

Malashree

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    Hi Martin,

    Thanks for the reply. I tried this before, but it didnt work for me.

    Kind regards,

    Malashree

  • Community Member Profile Picture
    on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    Hi Palle,

    Thanks for the reply. Yes it worked after using  Conflict: Overwrite.. Before i used CONFLICT:PUSH , but this made AOS not to restart.

    Kind Regards,

    Malashree

  • Martin Dráb Profile Picture
    236,240 Most Valuable Professional on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    You can also try to start the AX client from command line with -noauto option. You can learn more about it in Client configuration commands.

  • Suggested answer
    PA-22040759-0 Profile Picture
    6,194 on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    You could create an entire new model with an Application class that works, and import this model using the -Conflict Overwrite option. That will get you into AX so you can fix the problem.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    You imported those customizations from some other environment, right? So simply import them again after fixing the situation.

  • Community Member Profile Picture
    on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    Thanks  Nikolaos. Will try the second option..

    There is also one concern, we have imported few more customization (which are correct ones) to the corrupted environment. If we do remove the model and import from other environment then we will loose those things..

    Any suggestions for this?

    If we dont have any options then i will have to remove the model and import as per the 2nd point.

    Kind regards,

    Malashree

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    Ah, that is a good point :)

    Then your have two options:

    1) Overwrite the model where this customization is, a model from another environment. You already tried this apparently.

    2) Remove the model where this customization is. Now you should be able to open the client. Next you need to import this model from some other environment where it doesn't contain this harmful customization.

  • Community Member Profile Picture
    on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    Hi Nikolaos,

    Thanks for your reply.

    I am not able to open client.. So how can i select the class in the AOT and delete it. ?

    Kind Regards,

    Malashree

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to repair Application class which is corrupted through wrong code? AX client not opening.

    If you wish to simply remove customizations from the Application class, select it in the AOT and click Delete button. Then compile it. Now you should be able to open the client.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans