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 :
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

I have the same question (0)
  • Muthusamy Profile Picture
    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,

  • Community Member Profile Picture
    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.

  • Community Member Profile Picture
    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
    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
    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".

  • Suggested answer
    Muthusamy Profile Picture
    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,

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans