Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Larsen 116 posts 381 karma points
    Sep 25, 2013 @ 11:12
    Daniel Larsen
    0

    An item with the same key has already been added.

    Hi, I get this error when i try to make a new node. It is only one node type that has this problem, all other are fine.

    Please help :-)

    Umbraco v6.1.5 (Assembly version: 1.0.4993.19246)

    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) +14175344
    umbraco.controls.ContentControl.AddControlNew(Property p, TabPage tp, String cap) +285
    umbraco.controls.ContentControl.LoadPropertyTypes(IContentTypeComposition contentType, TabPage tabPage, Hashtable inTab, Int32 tabId, String tabCaption) +360
    umbraco.controls.ContentControl.CreateChildControls() +710
    System.Web.UI.Control.EnsureChildControls() +189
    umbraco.controls.ContentControl.OnInit(EventArgs e) +51
    System.Web.UI.Control.InitRecursive(Control namingContainer) +186
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +189 umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1263
    System.Web.UI.Control.InitRecursive(Control namingContainer) +186
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045

    Thank you :-)

  • Francielle 65 posts 279 karma points
    Oct 17, 2013 @ 03:42
    Francielle
    0

    I had the same problem some time ago.

    Some possible fixes:

    - Reseting IIS.

    - Open web.config, add a space and save it again.

    - Republish the website.

    Did you try deleting the document type and adding it again? 

  • Charles Afford 1163 posts 1709 karma points
    Oct 19, 2013 @ 21:05
    Charles Afford
    100

    Hi that is a property on a doc type issue.  Some where you have two properties with the same alias :).  Charlie

Please Sign in or register to post replies

Write your reply to:

Draft