Dear Anyone.
when I complied my code I got error like this and my menu is gone. Can someone guide me?
It seems that your current application doesn't contain a menu called MnuMOT. Do you disagree?
Dear Martin,
I'm not sure that I do something wrong but MnuMOT is my menu that I put in my environments do you have some suggestion to solve it?
ps. In the past It's work normally but when I complied the old code then this error are happen and all menu is gone.
Have you successfully built your model? What do you mean by compiling old code? Aren't you compiling your current code?
I do a first tier support for coding. In this case user give us a paper and told me to check. I need to recall about the old project and run to make sure that I customize in a right project(Becaue I don't have a document support from last programmer). I need to open my old code and try to run one-by-one and check impact for output. That why I run an old code.
Anyway for this error are still happen in today I don't know where is an error code but it sound like impact in D365.
For current code I run and everything sound normal but I can't access a menu on the left hand. and system show us an error "Could not find an element from the specified values: path value: dynamics://Menu/MnuMOT".
To test and older version of code, make sure that you have a development environment with a compatible version of standard code. Then find the right version of application (the one that is deployed in the environment that the support case is about) and get this version from source control. If you use an existing workspace, make sure that there aren't any files that should have been deleted (starting with an empty workspace is safer). Then compile all (non-binary) packages coming from source control and synchronize database.
Hi Thanakom,
When I look at your screenshot, I do see the menu listed in the application explorer. How did you build the "old code"? Did you build on solution or project level? If so you can try to build the full model. It might be the case that the menu is not yet built in this environment and when it is not part of the project, it will be skipped when you build the project/solution.
Dear Arnaud,
Thanks for your advise.
I try to run by add menu in my project when the results is work smoothly but menu are not show (same result).
When I check environment, everything is sound compatible but the result is menu are not shown.
Please elaborate what you mean by "I try to run by add menu in my project when the results is work smoothly but menu are not show (same result).". I still have no idea what you did, what works and what it isn't.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 724 Most Valuable Professional
André Arnaud de Cal... 619 Super User 2025 Season 2
Sohaib Cheema 400 User Group Leader