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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

XPO Import gone bad.

(0) ShareShare
ReportReport
Posted on by 5

I'm stuck on an issue where I tried to update a staging environment with a xpo-project-file.

The import ended in an app crash. I restarted the service and tried again, but didn't succeed with the import. From what I've found out, seems to be related to a new field to and existing table in the sys-layer. I was importing the xpo to the CUS-layer.

The problem now. AX crashes all the time. Cannot fully compile. Also when I open the AOT and try to highlight the Table (HRMAbsenceCode), the app also crashes. Also when I open some windows.

Though I can take and sync everything. I tried to drop the table in SQL, but it did not help. I can't see the new field in SQL, only in the application. (After example exporting all objects in the cus-model where the new tablefields is.

I believe I could solve this by deleting the model where the new field to the standard AX table lies. Though I would then first have to move all the elements in the same model to a new model, to not lose data.

Any other suggestions..

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at

    Hi Thor,

    Why don't you restore the application using a backup or another environment?

  • Thor Novang Profile Picture
    5 on at

    The thing is I forgot to take a backup of the environment before the import. (will never happen again..)

    I will have to restore everything if I don't find a solutions to the problem, that is plan B.

    I wonder if there is a way to move all elements except one element from one model to another in an easy way!

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    You can also try to compile the application with AxBuild.

  • Douglas Noel Profile Picture
    3,905 on at

    Hi Thor,

    Only some clues:

    - are you able to export the model using axutil or is a error message launched during export?

    - does the aos stop during export?

    If you're able to export the model, you can try the following.

    - import this modelfile in a other base installation and see if the app crashes too. Maybe you can remove the element here and export the model again.

    - or even delete the model in this installation (don't forget the backups) after exporting and see if this installation can be used afterwards. Sync compile ......

    Maybe you can reimport the exported model (original or modified). and see what happens.

    regards

    Douglas

  • Thor Novang Profile Picture
    5 on at

    Thanks for the suggestion, I managed to do the AxBuild without errors. But still having the same problem. Can't do a real Cil compilation though. The funny thing is when I do a full compile to CIL, it seems to just stop. And gives no results.. But when I do the incremental compilation, the aos stops.

  • Thor Novang Profile Picture
    5 on at

    Yes I am able to export the model file. I don't have another base environment to export it into, only my dev environment, but thanks anyway..

  • Verified answer
    Thor Novang Profile Picture
    5 on at

    I was able to find a backup of the modelstore, not taken too long back in time, so thanks to that it's working fine once more.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans