Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

(0) ShareShare
ReportReport
Posted on by 4

Hi All,

I have done code upgradation from AX 2012 R3 (CU11) to D365 latest version.

I am getting the below error when i click "update model parameters"(Path: Dynamics 365 -->Model Management --> Update Model Parameters" in Visual studio.

VS-Model.png

While Build the Project (Upgraded Solution" i am getting the below error list

--------------------------------------------------------------------------------------------------------

"Severity Code Description Project File Line Category Source Suppression State Tool
Error Path: [Unknown]:Object reference not set to an instance of an object.
at Microsoft.Dynamics.Framework.Tools.BuildTasks.AsyncBuildController.<>c__DisplayClass59_0.<DoMetadataValidation>b__1(DiagnosticItem diagnosticItem)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Dynamics.Framework.Tools.BuildTasks.AsyncBuildController.DoMetadataValidation(CancellationToken token, IEnumerable`1 elements, BuildTrigger buildTrigger). 0 Build
Error Path: [Unknown]:Object reference not set to an instance of an object.
at Microsoft.Dynamics.Framework.Tools.BuildTasks.AsyncBuildController.<>c__DisplayClass59_0.<DoMetadataValidation>b__1(DiagnosticItem diagnosticItem)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Dynamics.Framework.Tools.BuildTasks.AsyncBuildController.DoMetadataValidation(CancellationToken token, IEnumerable`1 elements, BuildTrigger buildTrigger). 0 Build
Error Path: []:System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Framework.Tools.ILGeneratorAgent.CompilationService.ValidateMetadata(String module, String metadataPath, String compilerMetadataPath, IEnumerable`1 elements) 0 Build
Error Path: []:System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Framework.Tools.ILGeneratorAgent.CompilationService.ValidateMetadata(String module, String metadataPath, String compilerMetadataPath, IEnumerable`1 elements) 0 Build
Error Path: []:The module 'BankTypes' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'BankTypes' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'BusinessProcess' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'BusinessProcess' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingCore' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingCore' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingForAx' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingForAx' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingMapping' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'ElectronicReportingMapping' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'Retail' referenced by the module being compiled does not exist. 0 Build
Error Path: []:The module 'Retail' referenced by the module being compiled does not exist. 0 Build"

--------------------------------------------------------------------------------------------------------

Any suggestion/help to solve this.

Thanks,

*This post is locked for comments

  • Suggested answer
    Muthusamy Profile Picture
    Muthusamy 4 on at
    RE: Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    Thanks Sukrat and sorry for the late reply.

    I have removed the Banktype reference path and its working fine.

    Thanks,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    The mail I received with your suggested answer, had not the links for "verifying" or "rejecting". (Perhaps because I am not the person who created this post ??) Most I could do, was clicking "like".

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    Thanks Sukrut Parab ! I could solve the problem, doing that.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    Muthusamy V ,

    I could bypass this problem removing reference to BankType Module, from

    C:\AOSService\PackagesLocalDirectory\ApplicationSuite\Descriptor\ApplicationSuite.USR Model.XML file.

    Not sure if this is the correct way to solve the issue as I'm new to this.

    Regards.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    Hi ! I've got exactly the same problem. Would appreciate any help.

  • Muthusamy Profile Picture
    Muthusamy 4 on at
    RE: D365 Code Migration - Module Application suite has invalid reference to module "Bank Types" that can cause circular dependencies

    Hi All,

    I am facing the below issue when trying to generate CAR report in D365

    “The source for referenced module 'BankTypes' is missing from the model store. Please specify the -packagesRoot parameter to instead use binary metadata for referenced modules”

    How to solve this error?

    Thanks,

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans