Copied to clipboard

Flag this post as spam?

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


  • Jeremy Holland 13 posts 33 karma points
    Oct 12, 2009 @ 16:10
    Jeremy Holland
    0

    Given key not present in the dictionary error

    Background info

    umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)

    asp.net 3.5

    windows vista business with IIS 7

    Sorry, I can't seem to pull a stack trace from the backend umbraco console.

    Problem

    I installed the package (v2 fixed) for the Repeatable Data Type. I created a data type for an image gallery with a media picker and a caption (textstring). I then added the item to my Document Type (which was working perfectly before this) and in the backend editing interface I receive this fun error. I went back and removed the media picker and textstring from the Repeater control and didn't receive the error. Of course at that point I have an empty and not so useful repeater. Do I need to do something additional to setup the repeater package for use?

    Server Error in '/' Application.



    The given key was not present in the dictionary.





    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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.



    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:



    [KeyNotFoundException: The given key was not present in the dictionary.]
    System.ThrowHelper.ThrowKeyNotFoundException() +28
    System.Collections.Generic.Dictionary`2.get_Item(TKey key) +2647056
    umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) +41
    umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() +79
    MA.Umbraco.DataTypes.RepeatableCustomContent.v2.RepeatableCustomContentDataEditor.setupChildControls(ContentItem editItem) +1793
    MA.Umbraco.DataTypes.RepeatableCustomContent.v2.RepeatableCustomContentDataEditor.OnInit(EventArgs e) +2715
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
    System.Web.UI.ControlCollection.Add(Control child) +80
    umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1050
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
  • Masood Afzal 176 posts 522 karma points
    Oct 22, 2009 @ 00:27
    Masood Afzal
    0

    Jeremy, sorry for late reply. Can you please update me what is the status now?

  • priya 25 posts 45 karma points
    Dec 15, 2011 @ 09:21
    priya
    0

    hi

    I am using 4.7.1 .Every thing is working fine but the search box in memeber section (backend)is not working only for 1 member.And giving the error "key was not present in the dictionary"

    tell me the reason and solution for this.

    Thanks in advance.

Please Sign in or register to post replies

Write your reply to:

Draft