Sitefinity 9.0 Multi Site - Creating new site with existing

Posted by Community Admin on 04-Aug-2018 02:49

Sitefinity 9.0 Multi Site - Creating new site with existing site pages and content gives an Item with the same key has already been added error

All Replies

Posted by Community Admin on 22-Aug-2016 00:00

Creating site using Duplicate pages and settings from existing site gives me Item with the same key has already been added.

please see trace log below

 

 Additional Info:

MachineName : GG-SF-WEB
TimeStamp : 8/24/2016 8:00:32 PM
FullName : Telerik.Sitefinity.Utilities, Version=9.0.6000.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/2/ROOT-2-131165421057507692
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\xvouchermarketplace
Requested URL : 10.50.105.5/.../
    Inner Exception
    ---------------
    Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : An item with the same key has already been added.
    Source : mscorlib
    Help link :
    ParamName :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void ThrowArgumentException(System.ExceptionResource)
    HResult : -2147024809
    Stack Trace :    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Telerik.Sitefinity.Configuration.ConfigElementDictionary`2.Add(TKey key, TElement element)
       at Telerik.Sitefinity.Data.ManagerExtensions.RegisterProviderSettings(Type configType, String providerName, String providerTitle, NameValueCollection parameters, Action`2 applyProviderDefaultSettings)
       at Telerik.Sitefinity.Modules.GenericContent.ContentManagerBase`1.CreateProvider(String providerName, String providerTitle, NameValueCollection parameters)
       at Telerik.Sitefinity.Data.DataSource.DataSourceProxy.CreateProvider(String providerName, String providerTitle, NameValueCollection parameters)
       at Telerik.Sitefinity.Multisite.Web.Services.MultisiteService.UpdateDataSources(Guid siteId, SiteConfigurationViewModel modelviewSite, Boolean isCreatingSite, MultisiteManager multisiteManager)
       at Telerik.Sitefinity.Multisite.Web.Services.MultisiteService.SaveSiteInternal(String siteId, SiteConfigurationViewModel site, MultisiteManager& multisiteManager, Boolean createSiteDependencies, Nullable`1 rootNodeId)



Category: ErrorLog

Priority: 0

EventId: 90000

Severity: Error

Title:Enterprise Library Exception Handling

Machine: GG-SF-WEB

App Domain: /LM/W3SVC/2/ROOT-2-131165421057507692

ProcessId: 2580

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name:

Win32 ThreadId:6140

Extended Properties:
----------------------------------------

----------------------------------------
----------------------------------------
Timestamp: 8/24/2016 7:28:03 PM

Message: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Telerik.Sitefinity.Configuration.ConfigElementDictionary`2.Add(TKey key, TElement element)
   at Telerik.Sitefinity.Data.ManagerExtensions.RegisterProviderSettings(Type configType, String providerName, String providerTitle, NameValueCollection parameters, Action`2 applyProviderDefaultSettings)
   at Telerik.Sitefinity.Modules.GenericContent.ContentManagerBase`1.CreateProvider(String providerName, String providerTitle, NameValueCollection parameters)
   at Telerik.Sitefinity.Data.DataSource.DataSourceProxy.CreateProvider(String providerName, String providerTitle, NameValueCollection parameters)
   at Telerik.Sitefinity.Multisite.Web.Services.MultisiteService.UpdateDataSources(Guid siteId, SiteConfigurationViewModel modelviewSite, Boolean isCreatingSite, MultisiteManager multisiteManager)
   at Telerik.Sitefinity.Multisite.Web.Services.MultisiteService.SaveSiteInternal(String siteId, SiteConfigurationViewModel site, MultisiteManager& multisiteManager, Boolean createSiteDependencies, Nullable`1 rootNodeId)

This thread is closed