Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I am upgrading AX2012 R2 to CU7 and trying to use the new Merge Code Automatically feature introduced in the update. We have quite a few customizations on the VAR layer and I'm running the Merge job on it.
The problem I have is the merge takes ridiculously long time to process - the last time I checked the progress bar estimated 187 hours remaining and it was stuck on the same method for more than an hour at that point.
Using CTRL+BREAK to get into debugger revealed that 99% of the time is taken by method \Classes\SysDiffUtil\generateMatrix, which executes >1M loops for each customized method.
Has anyone faced the same issue or am I overlooking something?
I have noticed the same. I didnt have time to investigate it further, though. Mine was done within a couple of hours.
This is something that Microsoft will be addressing in a hotfix in the near future. We know about the issue and are working on a resolution for the issue.
Thank you for the feedback, Kevin. Good to know! :D
Thanks Kevin. Looking forward to the Hotfix.
Hi, actually running that step in software update checklist to update our model in ISV - it is still executing - since 20hrs... The progress bar does not even tell me some expected duration :-(
Any news regarding a hotfix addressing this issue?
Could it be this fix?
I've done some comparison between the CU7 version of that code and the new version of the classes SysDiffUtil, SysMergeCreateProject and SysMergeUtil. I believe the performance issue has been addressed in that hotfix (KB2919062): http://go.microsoft.com/fwlink/?LinkID=306973&fw=/kb/2919062
I haven't yet tested the performance gain, but in my upgrade that process was over in less than 3 hours. It obviously depends on how much the AOT has been customized.
I can confirm that this is the right fix!
Great stuff, Beat. Any measures on the performance improvement? Did you kill the process or let it run through? How long does it take after applying the fix?
Hi Tommy - well i killed the first run after 22 hrs, i did not even got an amount of expected time from progress bar!
After installing the HF KB2919062 it took about 15 min!
What an improvement :-)
Install instructions are a little light...do we install this hotfix just prior to running the code merge?
I installed the HF right before executing the step 'Merge code automatically'. Meaning run the axupdate.exe.
After that i did a compile and sync and i checked the install log if it touched elements that i have changed in ISV layer (or any other layer higher than SYP) - that was not the case - else i would have to upgrade these elements first.
Restarted Aos and then continued with auto merge.
I can't download KB2919062 :( Anyone help me please !
send mail to email@example.com
I can download KB2919062. After I run merge code automatically, I got this error
Method 'UtilElement()' is not supported for treenode (Path: \)
& I found this code getting error:
SysMergeCreateProject::mergeRootNote (TreeNode _root, Set _pathSet)
type = _root.utilElement().recordType;
This line got error.
Could you please help.
You can skip the Merge Code Automatically. However you must ensure that your enhancements you have in higher layers than syp does not overshadow the CU7 code.
Business Applications communities