Good evening everyone!
The last weeks I have been busy with an in place upgrade from AX2012 R1 CU5 to R3.
Unfortunately the slipstreamed CU11 was not installed automatically for some reason, so I first upgraded the code to R3 RTM.
After all was fine, I started the upgrade to CU11. I used the hotfix installer, which downloads all hotfixes for cu11.
After some minutes of installing, I get a message that the installer encountered an error (with a red square box) and it advises me to review the log file. When I do that I see nothing specific... only this on the end:
[quote]
AxUtil call is complete.
AxUtil call returned warnings:
One or more model elements in the imported model file contains
elements that have a different name in the model store. The following elements
have adopted the model store name:
Calling AxUtil to get list of installed models.
Using AXUtil to connect to database "AXTEST_model" on server "DAXTEST".
AxUtil call is complete.
An error occurred during setup of Model Database (DAXTEST:AXTEST_model).
Completed setup of Model Database.
=== Setup was completed successfully.
=== Setup logging ended: 29-8-2016 1:14:07 ErrorLevel/ExitCode: '0' ===
[/quote]
When I check the models in AX, many hotfixes have been installed. Also application was updated to a newer build. Kernel number is still on RTM, but I think that that's because the CU11 is installed as hot fixes.
When I compile security priveledges I get many errors that components are missing (from tables to services, to menu items etc):
Is this a common issue? It does not feel comfortable to continue with the upgrade based on an error. Also it seems that many SYP components are missing.
What would be the best approach?
*This post is locked for comments
Thanks a lot André!
Dick's solution worked perfectly and cleans up the model store. The models installed without issues (one remark about a menu item which I have replaced). Currently AXUtil is cleaning up all hotfixes.
I should have known this earlier :) would have saved me some nights sleep.
Thanks for sharing.
Kind regards, Willem.
Hi Willem,
Wgen you install CU11 afterwards it will indeed install all as hotfixes. My colleague Dick Wenning wrote a blog how to work around this. [View:http://kaya-consulting.com/clean-model-store-upgrade-to-cu-10/] (test carefully first)
The errors you have can be caused like Dick wrote in his blog or two other options:
- Objects are obsolete and removed or renamed in R3 while still being referenced in customized objects.
- Missing models.
Personally I think you have some security customizations with old references. So check that first.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156