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

Community site session details

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

Models are not visible after version update

(1) ShareShare
ReportReport
Posted on by
Hi Experts, 
 
Today I have updated one of cloud hosted development environment's version to 10.0.40. After the update, I cannot see any models when I go to to build models, but all the models & files are available in the PackagesLocaldirectory. what could be the reason ? when I try Refresh models, I am getting below error. Any help please.

Please correct the metadata files for the following issue. module reference XYZ in model ABC cannot be located. This is an indication that model store is in a broken state. 
Then select the refresh models menu item in the dynamics 365 model management menu to refresh the models. 
  
  • André Arnaud de Calavon Profile Picture
    on at
    Models are not visible after version update
    Hi D365 beginner,

    It might be the case that a standard model has been split into multiple models, or a model has been removed or renamed. You can go to the model descriptor files of the custom models on the disc and check if the referenced models are still available. If not, remove the model reference from the XML file. Most likely you can then open VIsual Studio, but you would need to check if the model then will still build or would need a new model reference. 
  • Suggested answer
    Komi Siabi Profile Picture
    on at
    Models are not visible after version update
    Just like André said, you need to update the descriptor file of your custom model and then it will appear on VS when you update the models.
     
    You can check my blog post on this.
     
  • Anton Venter Profile Picture
    on at
    Models are not visible after version update
    Hello,
     
    From the information you supplied, it seems your custom model was referencing another model but now it cannot find that model. As mentioned by others, check your descriptor file for correct references.
  • D365  beginner Profile Picture
    on at
    Models are not visible after version update
    Hi Komi & Andre, 
     
    Thank you for the inputs and it worked, I removed the model reference from the XML file for the model ABC and now I am able to see all the models except XYZ in my case. Actually model XYZ is created by a third party and they will not share the source code. So I used to see it in models in italics as I cannot build it or alter it. Now I can see all other models except it. I can see the XYZ folder in my packages local directory but the model is not available in visual studio. There is no descriptor file in the folder for this model. what should I do now to see it in the models as I need to include this as well while creating deployable package?
  • CC-19072050-0 Profile Picture
    on at
    Models are not visible after version update
    I am seeing the exact behavior after upgrading the VM to .40 - following this post.
  • CC-19072050-0 Profile Picture
    on at
    Models are not visible after version update
    Update - running VS2019 I cannot see the deployable package modules and receive reference errors, but changing to VS2022 (happened to have it installed on the same machine) I can see things normally.
     
    Will likely end up re-deploying all of our CHEs (they've been upgraded since .34, .35, .36, .38, and now .40) and instead of dealing with inconsistencies/issues of VS versions and installs I'll redeploy. Still a pain, but at least closer to a solution.
  • André Arnaud de Calavon Profile Picture
    on at
    Models are not visible after version update
    Hi D365 Beginner,
     
    You can include the third-party package in your all-in-one deployable package without model source files. You can read how to do this on Microsoft Learn: Manage third-party models and runtime packages by using source control - Finance & Operations | Dynamics 365 | Microsoft Learn
  • D365  beginner Profile Picture
    on at
    Models are not visible after version update
     
    Exactly, I can see all the models in VS 2022!. Any idea why this is happening and Is there anyway to have it in VS2019 as well ?. Now I need to update the all the development VMs versions to 10.0.40 and start using VS2022. 
  • CC-19072050-0 Profile Picture
    on at
    Models are not visible after version update
     
    I am not sure why this is happening - for me it initially happened on a VM that I upgraded to .40 but was using VS2019.
     
    Today a VM that has not been upgraded to .40 is experiencing a similar issue. Perhaps there was a change deployed to VS as an update that broke something? I am not sure but I am also in the process of upgrading our VMs to .40.
  • Manikanda_Gopal Profile Picture
    on at
    Models are not visible after version update
    Hi All,
     
    I successfully upgraded the cloud hosted Dev and TST environments to version 10.0.40 without any issues. I can also confirm that all models are visible.
    However, I encountered the following error during the custom model build process.
     
    Error:
    A reference to Dynamics.Ax.ProcessAutomation, version = 0.0.0.0, Culture=neutral,PublicKye=null  is required to compile this module.
     
    To resolve this, I updated the custom model parameter to reference the "ProcessAutomation" model.
     
    For a more detailed explanation, please refer to my blog post ‘After Upgrading to Dynamics 365 Finance 10.0.40 or higher, the custom Model Build Fails (d365fandotech.blogspot.com)’
     

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans