Copied to clipboard

Flag this post as spam?

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


  • Søren Eriksen-Aagreen 29 posts 76 karma points
    Nov 13, 2009 @ 13:33
    Søren Eriksen-Aagreen
    0

    Item has already been added. Key in dictionary

    Dear Umbracians,

     

    Running on a

    win2k3

    umbraco 4.0.2.1 - upgraded from a 306, I get the following error when saving a template:

    ---

    Event Type: Warning
    Event Source: ASP.NET 2.0.50727.0
    Event Category: Web Event
    Event ID: 1309
    Date:  13-11-2009
    Time:  11:37:59
    User:  N/A
    Computer: COMPUTER
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 13-11-2009 11:37:59
    Event time (UTC): 13-11-2009 10:37:59
    Event ID: 9bf009aa2caf4db1b04afe9d8c3260d7
    Event sequence: 18844
    Event occurrence: 3
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/2141247161/ROOT-2-129025776735607833
        Trust level: Full
        Application Virtual Path: /
        Application Path: \application\path
        Machine name: MACHINENAME
     
    Process information:
        Process ID: 6884
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: ArgumentException
        Exception message: Item has already been added. Key in dictionary: 'beta.www.dk'  Key being added: 'beta.www.dk'
     
    Request information:
        Request URL: http://www.oursite.dk/default.aspx?parameters=value
        Request path: /default.aspx
        User host address: xxx.x.x.xxx
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
     
    Thread information:
        Thread ID: 8
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
       at System.Collections.Hashtable.Add(Object key, Object value)
       at umbraco.cms.businesslogic.template.Template.initTemplateAliases()
       at umbraco.cms.businesslogic.template.Template.GetTemplateIdFromAlias(String alias)
       at umbraco.page..ctor(XmlNode xmlNode)
       at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Page.OnPreInit(EventArgs e)
       at System.Web.UI.Page.PerformPreInit()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details:
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    ---

    The key in dictionary, here 'beta.www.dk' - is not the template being saved, but the first in the tree.

    Does anyone know if this is a bug in reloading the template-tree - or could it be something regarding the upgrade ?

     

     

Please Sign in or register to post replies

Write your reply to:

Draft