Developer forum

Forum » CMS - Standard features » Resolved: Item with the same key has already been added

Resolved: Item with the same key has already been added

Martin Christensen
Reply

Resolved: Duplicate item gave me the following error

Server Error in '/' Application.


An item with the same key has already been added.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: An item with the same key has already been added.

Source Error: 

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[ArgumentException: An item with the same key has already been added.]
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +13908159
   Dynamicweb.Admin.Edit2.LoadItemLayoutsFromForm() +686
   Dynamicweb.Admin.Edit2.Page_Load(Object sender, EventArgs e) +1298
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

Replies

 
Nicolai Høeg Pedersen
Reply

Der er styr på det nu?

 
Martin Christensen
Reply

Fuldstændigt :)

 
Dmitrij Jazel
Reply

Hi guys,

Ahy comments on this?

What caused this error, and how it was fixed?

 

/Dmitrij

 

You must be logged in to post in the forum