Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Error when one extension uses a request from another extension

(0) ShareShare
ReportReport
Posted on by 15
Hi Commerce community,
 
We have an error installing two extensions, one extension uses a request from another extension
 
First Extension, 
 
 
 
Second extension
 
 
 
When install extensions, this happens:
 
{
    /TypeName/: /ExtensionConfigurationException/,
    /Exception/: /{//r/  ///ErrorResourceId///: ///Microsoft_Dynamics_Commerce_Runtime_CompositionComponentExportingError///,//r/  ///LocalizedMessage///: ///An error occurred during export of runtime compostion components. Source assembly: System.Private.CoreLib. Details: System.ArgumentException: An item with the same key has already been added. Key: Contoso.CommerceRuntime.Messages.ExampleEntityDataRequest////r///   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)////r///   at Microsoft.Dynamics.Commerce.Runtime.CompositionLoader.InitializeHandlersAndTriggersMap()////r///   at System.Lazy`1.PublicationOnlyViaFactory(LazyHelper initializer)////r///   at System.Lazy`1.CreateValue()////r///   at System.Lazy`1.get_Value()////r///   at Microsoft.Dynamics.Commerce.Runtime.CompositionLoader.get_TypeToHandlersMap()////r///   at Microsoft.Dynamics.Commerce.Runtime.CompositionLoader.GetAllRequestHandlers()////r///   at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntimeConfiguration.LogCrtExtensionHandlersSupportedRequests(CompositionLoader composition)////r///   at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntimeConfiguration..ctor(ICommerceRuntimeSection commerceRuntimeSection, IEnumerable`1 extensionBundles, ICommerceRuntimeExtensionsSection preloadCommerceRuntimeSection, ICompositionLoader compositionLoader, String connectionString)/////r/}/,
    /CorrelationId/: /227e6c54-c4ae-4b6e-9ac8-4c9cebedd1b1/
}
 
This started happening after installing version 9.45.
 
Has anyone experienced this?
 
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,602 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,340 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans