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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
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,
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 93 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 69 Super User 2026 Season 1

#3
Sagar Suman Profile Picture

Sagar Suman 56 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans