Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

model file references an element that belongs to another model error while installing hotfix cu9 ax2012

(0) ShareShare
ReportReport
Posted on by 197

Hi,

I'm getting this error now while installnig hotfix cu9 ax2012. Open file log and error belows...

The model file references an element that belongs to another model that
does not exists in the model store. You can use the /createparents
command switch to create a model where these elements will be placed.
The import has been aborted and rolled back.
Error updating model database: Microsoft.Dynamics.Setup.AxSetupException: AxUtil call returned errors:The model file references an element that belongs to another model that
does not exists in the model store. You can use the /createparents
command switch to create a model where these elements will be placed.
The import has been aborted and rolled back.

ANy suggestion ? i'm stuck now how to do this task. 

Regards,

Zohan

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    Make sure that the hotfix is for the right version. If so, look at the actual conflicts. When you know which objects are expected by the hotfix but mussing in your environment, you'll be much closer to understand what's happenning.

    Don't forget that a single hotfix may actually contain quite a few other related fixes (and therefore models).

  • Zohan_93 Profile Picture
    197 on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    martin,

    Kindly suggest.

    Regards,

    Zohan

  • Zohan_93 Profile Picture
    197 on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    hotfix related to some Key Clean up Features for InventSum and InventDim Tables

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    So what are you installing?

  • Zohan_93 Profile Picture
    197 on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    Martin,

    what i do is there's a staging server already installed ax with cu9 and Kernel version is 6.3.2000.326 ax2012 R3. Now i want to install a hotfix for some modification required, first i run the axupdate installer and select the database model name and it process and after some time it throws an error of "model file references an element that belongs to another model error"  while installing hotfix. what will be the next step need to be perform to resolve this task, Cause it already said setup was not completed means modification hasn't been deployed on my staging machine.

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    I'm confused. You said that you're importing a single model and also that you're installing the whole Cumulative Update 9. These are very different scenarios.

    Please tell us more what you did, where and when you got the error and what you have in the target environment (the current application version, customer models or vanilla AX).

  • Zohan_93 Profile Picture
    197 on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    Martin, agree with your thoughts, even i'm also worried. I didn't get the solution for the above problem, you said  the model refers to an element that doesn't exist in the target environment but how would i resolve this? as i've only contain a  hotfix, so from where should i find the missing model reference.

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    Hmm, does it mean that you ignore the problem and now you're trying to use the environment anyway, despite the fact that the update didn't succeed.

    Then nobody knows in which state your environment currently is, but using it doesn't sound like a good  idea. You're now seeing it for yourself.

  • Zohan_93 Profile Picture
    197 on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    martin,

    I'm installing hotfix on cu9 r3 ax2012, on installation process it throws an error of as i've mentioned above of "The model file references an element that belongs to another model". I was stuck for long time then i tried to open dynamics ax and it shows a window which says " The models store has been modified".

    There are multiple option to check , so i check the default one "Start the software update checklist".. and click proceed. After this i've checked the installed models i.e tools > model management >  installed models and here i find my hotfix version... Now once i tried to generate the full compile it throws me an error of " error when loading the method. type: fbtaxassessmentwhtbalancecontrol_br, method: distributeremaningdebitperfbtaxtrans".

    Now i've generated full compile aot.

    the reason of generating full cil,i was unable to see some changes that refer to hotfix. I.e some menu items etc.

    any suggestion now?

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: model file references an element that belongs to another model error while installing hotfix cu9 ax2012

    I'm not sure what you're talking about. Please give us more details.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans