Copied to clipboard

Flag this post as spam?

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


  • Drew 165 posts 340 karma points
    Oct 05, 2011 @ 11:18
    Drew
    0

    Item has already been added. Key in dictionary: '80' Key being added: '80'

    After looking into this, I know you can get the "item has already been added" issue if you have:

    • two templates with the same name
    • two macro parameters with the same name
    The only issues is that usually the key name is usually the culprit, such as "Key in dictionary 'pageTitle'".
    I've not got any templates called '80' or any macro params called '80' (?)
    I've checked through the site for duplicates anyhow - and can't find any.
    Any help appreciated!

  • Drew 165 posts 340 karma points
    Oct 05, 2011 @ 11:25
    Drew
    0

    Update:
    Looks like it occurs on: : /umbraco/editContent.aspx 

    So must be doctype issue... ?

  • Drew 165 posts 340 karma points
    Oct 05, 2011 @ 12:03
    Drew
    0

    Stalking the windows event logs, hopefully if the error appears again I can match it up with an error in the Umbraco log to try and find out what this issue is.. :)

    But if anyone else has an idea, don't hold back! :) Tell me.

     

  • Drew 165 posts 340 karma points
    Oct 23, 2011 @ 23:25
    Drew
    0

    Just had this issue again.

    Admin area (content pane, left hand side) was showing the error. Website itself (front end) worked fine.

    Restarting IIS fixed the issue. Event viewer shows nothing odd, SQL server logs are fine, IIS logs are OK.

    Very strange.

     

    More people with a similar error:
    http://our.umbraco.org/forum/core/general/19951-Item-has-already-been-added-Key-in-dictionary-

     

    The only common theme I can find is that the duplicate entry is always a numeric value, such as:
    Item has already been added. Key in dictionary: '80' Key being added: '80'

    Item has already been added. Key in dictionary: '80' Key being added: '28'
    Item has already been added. Key in dictionary: '80' Key being added: '50'

     

     and not a string value, such as:
    Item has already been added. Key in dictionary: 'blog' Key being added: 'blog'
    Item has already been added. Key in dictionary: 'my new template name' Key being added: 'my new template name'

     

    Cheers
     

  • Richard Han 19 posts 41 karma points
    Apr 23, 2014 @ 08:45
Please Sign in or register to post replies

Write your reply to:

Draft