Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / The same metadata arti...
Finance forum
Suggested answer

The same metadata artifact has been defined in multiple assemblies

Posted on by 3,009
Severity    Code    Description    Project    File    Line    Suppression State
Error        at Microsoft.Dynamics.AX.Metadata.Storage.ErrorReportingHelper.ThrowMetadataReadCrossAssemblyDuplicateException[T](IList`1 artifactNames, IDictionary`2 modulesToArchives)            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeProvider`1..ctor(RuntimeProviderConfiguration configuration, RuntimeModelManifestProvider modelManifestProvider, IDictionary`2 archives)            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeProvider`1.GetPrimaryKeysNoCache()            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.MetadataProviderFactory.CreateRuntimeProviderWithExtensions(RuntimeProviderConfiguration configuration, TableExtensionLoader tableExtensionLoader, MenuExtensionLoader menuExtensionLoader, FormExtensionLoader formExtensionLoader, EnumExtensionLoader enumExtensionLoader, SecurityRoleExtensionLoader securityRoleExtensionLoader, SecurityDutyExtensionLoader securityDutyExtensionLoader, DataEntityViewExtensionLoader dataEntityViewExtensionLoader, EdtExtensionLoader edtExtensionLoader, ViewExtensionLoader viewExtensionLoader, QuerySimpleExtensionLoader querySimpleExtensionLoader, MenuItemDisplayExtensionLoader menuItemDisplayExtensionLoader, MenuItemActionExtensionLoader menuItemActionExtensionLoader, MenuItemOutputExtensionLoader menuItemOutputExtensionLoader)            0    
Error        Log level - Error | Microsoft.Dynamics.AX.Metadata.Storage.MetadataReadCrossAssemblyDuplicateException: Runtime metadata is invalid because the same metadata artifact has been defined in multiple assemblies. \nFirst 10 conflicting names: DFT_RetailStoreSalesAchived. \nSee metadata events for complete list.            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.MetadataProviderFactory.CreateRuntimeProviderWithExtensionsUpdated(RuntimeProviderConfiguration configuration, TableExtensionLoader tableExtensionLoader, MenuExtensionLoader menuExtensionLoader, FormExtensionLoader formExtensionLoader, EnumExtensionLoader enumExtensionLoader, SecurityRoleExtensionLoader securityRoleExtensionLoader, SecurityDutyExtensionLoader securityDutyExtensionLoader, DataEntityViewExtensionLoader dataEntityViewExtensionLoader, EdtExtensionLoader edtExtensionLoader, ViewExtensionLoader viewExtensionLoader, QuerySimpleExtensionLoader querySimpleExtensionLoader, MenuItemDisplayExtensionLoader menuItemDisplayExtensionLoader, MenuItemActionExtensionLoader menuItemActionExtensionLoader, MenuItemOutputExtensionLoader menuItemOutputExtensionLoader, WorkflowTemplateExtensionLoader workflowTemplateExtensionLoader, WorkflowTaskExtensionLoader workflowTaskExtensionLoader, WorkflowApprovalExtensionLoader workflowApprovalExtensionLoader)            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.RuntimeMetadataProvider..ctor(RuntimeProviderConfiguration configuration, Boolean extensions, ExtensionLoader`1 formExtensionLoader, ExtensionLoader`1 tableExtensionLoader, ExtensionLoader`1 enumExtensionLoader, ExtensionLoader`1 menuExtensionLoader, ExtensionLoader`1 securityRoleExtensionLoader, ExtensionLoader`1 securityDutyExtensionLoader, ExtensionLoader`1 dataEntityViewExtensionLoader, ExtensionLoader`1 edtExtensionLoader, ExtensionLoader`1 viewExtensionLoader, ExtensionLoader`1 querySimpleExtensionLoader, ExtensionLoader`1 menuItemDisplayExtensionLoader, ExtensionLoader`1 menuItemActionExtensionLoader, ExtensionLoader`1 menuItemOutputExtensionLoader, ExtensionLoader`1 workflowTemplateExtensionLoader, ExtensionLoader`1 workflowTaskExtensionLoader, ExtensionLoader`1 workflowApprovalExtensionLoader)            0    
Error        at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeExtensionProvider`2..ctor(RuntimeProviderConfiguration config, RuntimeModelManifestProvider modelManifestProvider, ExtensionLoader`1 loader, IDictionary`2 archives)            0    
Error        at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine..ctor(String metadataDirectory, String sqlConnectionString, SyncOptions options)            0    
Error        at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)            0    
Error        syncengine.exe exited with code -1.            1    
 
 
Dear Experts,
 
I am getting the above errors after build , sync and compile the project help!
 
Best Regards,
Shabir Ahmad
 
  • VaHiX Profile Picture
    VaHiX 1,622 on at
    The same metadata artifact has been defined in multiple assemblies
     

    ** Please don't forget to close up the thread here by Like and verify it as an answer if it was solved **

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 228,815 Most Valuable Professional on at
    The same metadata artifact has been defined in multiple assemblies
    Moved from D365 general forum. Title changed from "Severity    Code    Description    Project    File    ", because that was meaningless. Next time, please use a title that describe the topic of your thread.
     
    You also gave us almost no information about how you ended up with this error. Didn't you move DFT_RetailStoreSalesAchived to a different package? If so, the reason is that you didn't compile the original package, therefore the element still exists in binaries generated from the original package, in addition to the new location.
  • VaHiX Profile Picture
    VaHiX 1,622 on at
    Severity    Code    Description    Project    File
    The error message mentions conflicting names, such as DFT_RetailStoreSalesAchived. Identify all the conflicting artifacts listed in the error message.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,581 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,815 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans