Copied to clipboard

Flag this post as spam?

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


  • BaconBeastNz 40 posts 60 karma points
    Aug 31, 2011 @ 05:10
    BaconBeastNz
    0

    Insert Macro in Template throwing An entry with the same key already exists exception

    Hi there

    I am able to insert forms in my Rich text editor but when I try to insert one into my template, I am getting the error:

    An entry with the same key already exists.

    Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d83f4247\4c52254f\App_Web_roomdetail.master.7371103c.emessf6i.0.cs

    If I debug it says error of invocation ETC

    Could anyone point me in the right direction to getting this fixed?

    Thanks!

  • Comment author was deleted

    Aug 31, 2011 @ 09:31

    Have you tried on another template to see if you get the same error?

  • BaconBeastNz 40 posts 60 karma points
    Sep 06, 2011 @ 10:44
    BaconBeastNz
    0

    Hey Tim! Thanks alot for your reply, sorry about lateness had to leave unexpectedly for a week. 

    I am still getting this error on other templates, Do you know what it could be? I also have a (possibly?) related error: 

    http://our.umbraco.org/forum/umbraco-pro/contour/23601-Form-renders-fine-in-preview-mode-but-not-in-normal-mode?p=0#comment87900

  • BaconBeastNz 40 posts 60 karma points
    Oct 13, 2011 @ 00:48
    BaconBeastNz
    0

    Could anyone try point me in the right direction with this?

  • BaconBeastNz 40 posts 60 karma points
    Oct 13, 2011 @ 00:58
    BaconBeastNz
    0

    Ok its only throwing an error when I include it directly in a template (rather than in an RTE), and it only throws an error when a make a field mandatory if no field is made mandatory then its fine.

     

    I think this is related to my other Contour issue: http://our.umbraco.org/forum/umbraco-pro/contour/23601-Form-renders-fine-in-preview-mode-but-not-in-normal-mode?p=0#comment87900

    When the markup is being broken by mandatory fields haha. Oh dear! Any ideas?

  • wolulcmit 357 posts 693 karma points
    Oct 13, 2011 @ 02:27
    wolulcmit
    0

    Hey BaconBeast, what version of Contour and Umbraco are you running?
    perhaps if you haven't already... upgrading to v 1.1.11 will fix your issue?

    sorry I can't be much more help than that as I've only used contour a few time and haven't come across this particular issue. I'm sure Tim G. will help you with a fix.

  • BaconBeastNz 40 posts 60 karma points
    Oct 13, 2011 @ 02:37
    BaconBeastNz
    0

    Thanks wolulcmit. I'm on Umbraco v 4.7.0 and Contour 1.1.9

  • BaconBeastNz 40 posts 60 karma points
    Oct 14, 2011 @ 03:46
    BaconBeastNz
    0

    Have upgraded to 4.7.1 and 1.1.11 and still occuring :(

  • BaconBeastNz 40 posts 60 karma points
    Oct 14, 2011 @ 04:20
    BaconBeastNz
    0

    Have also tried reisntalling contour, here is the error message:

     

    An entry with the same key already exists.

    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 entry with the same key already exists.

    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 entry with the same key already exists.]
    System.Collections.Specialized.ListDictionary.Add(Object key, Object value) +6157735
    System.Web.UI.ClientScriptManager.RegisterExpandoAttribute(String controlId, String attributeName, String attributeValue, Boolean encode) +272
    System.Web.UI.ScriptRegistrationManager.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) +79
    System.Web.UI.ScriptManager.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) +44

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
    System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +72
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +251
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
    System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2377
    System.Web.UI.WebControls.ValidatorCompatibilityHelper.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) +170
    System.Web.UI.WebControls.BaseValidator.AddAttributesToRender(HtmlTextWriter writer) +330
    System.Web.UI.WebControls.RequiredFieldValidator.AddAttributesToRender(HtmlTextWriter writer) +18
    System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +20
    System.Web.UI.WebControls.BaseValidator.Render(HtmlTextWriter writer) +445
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    umbraco.presentation.templateControls.Macro.Render(HtmlTextWriter writer) +151
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +8696253
    System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
    umbraco.presentation.urlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer) +49
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +8858991
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    umbraco.presentation.masterpages._default.Render(HtmlTextWriter writer) +35
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    System.Web.UI.Control.Render(HtmlTextWriter writer) +10
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
    umbraco.UmbracoDefault.Render(HtmlTextWriter output) +74
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060

  • BaconBeastNz 40 posts 60 karma points
    Oct 14, 2011 @ 04:22
    BaconBeastNz
    0
    library Error returning dictionary item 'submit'
    No key submit exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.0742931713388154 0.036813
    library Error returning dictionary item 'next'
    No key next exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.106193594437282 0.031900
    library Error returning dictionary item 'prev'
    No key prev exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.151974831996804 0.045781
    item Start parsing 'pageName' 0.154259689429802 0.002285
    item Done parsing 'pageName' 0.154400768812796 0.000141
    item Start parsing 'introduction' 0.154465022789209 0.000064
    item Done parsing 'introduction' 0.154535283115592 0.000070
    item Start parsing 'bodyText' 0.154588362487411 0.000053
    item Done parsing 'bodyText' 0.154651499003365 0.000063
    renderMacro Rendering started (macro: Insert form from Umbraco Contour, type: 3, cacheRate: 0) 0.156516470668758 0.001865
    umbracoMacro Usercontrol added (/usercontrols/umbracoContour/RenderForm.ascx) 0.156590292900355 0.000074
    loadUserControl Usercontrol added with id 'RenderForm_4' 0.156996908825004 0.000407
    macro.loadControlProperties Property added 'FormGuid' with value 'dfd91134-576d-4d2d-bb2f-7d5421178850' 0.157868388300748 0.000871
    library Error returning dictionary item 'submit'
    No key submit exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.19626970746282 0.038401
    library Error returning dictionary item 'next'
    No key next exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.232451750152603 0.036182
    library Error returning dictionary item 'prev'
    No key prev exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.262363861887475 0.029912
    renderMacro Rendering started (macro: Featured Rooms, type: 3, cacheRate: 0) 0.263936827166581 0.001573
    umbracoMacro Usercontrol added (usercontrols/FeaturedRooms.ascx) 0.263996052570927 0.000059
    loadUserControl Usercontrol added with id 'FeaturedRooms_5' 0.264372217698059 0.000376
    renderMacro Rendering started (macro: Footer Link Sets, type: 1, cacheRate: 0) 0.265499036888767 0.001127
    umbracoMacro Before adding extensions 0.265608268648669 0.000109
    umbracoXsltExtension Extension added: urn:Exslt.ExsltCommon, ExsltCommon 0.265723506758541 0.000115
    umbracoXsltExtension Extension added: urn:Exslt.ExsltDatesAndTimes, ExsltDatesAndTimes 0.265775608352458 0.000052
    umbracoXsltExtension Extension added: urn:Exslt.ExsltMath, ExsltMath 0.2658253353429 0.000050
    umbracoXsltExtension Extension added: urn:Exslt.ExsltRegularExpressions, ExsltRegularExpressions 0.26587136074557 0.000046
    umbracoXsltExtension Extension added: urn:Exslt.ExsltStrings, ExsltStrings 0.265915290909878 0.000044
    umbracoXsltExtension Extension added: urn:Exslt.ExsltSets, ExsltSets 0.265959849645695 0.000045
    umbracoXsltExtension Extension added: urn:ucomponents.cms, Cms 0.266003849651282 0.000044
    umbracoXsltExtension Extension added: urn:ucomponents.dates, Dates 0.266047151244083 0.000043
    umbracoXsltExtension Extension added: urn:ucomponents.io, IO 0.266089125852587 0.000042
    umbracoXsltExtension Extension added: urn:ucomponents.media, Media 0.266131729032601 0.000043
    umbracoXsltExtension Extension added: urn:ucomponents.members, Members 0.266177963959107 0.000046
    umbracoXsltExtension Extension added: urn:ucomponents.nodes, Nodes 0.266221195710628 0.000043
    umbracoXsltExtension Extension added: urn:ucomponents.search, Search 0.266281608416712 0.000060
    umbracoXsltExtension Extension added: urn:ucomponents.strings, Strings 0.266327075089152 0.000045
    umbracoXsltExtension Extension added: urn:ucomponents.urls, Urls 0.266369538586608 0.000042
    umbracoXsltExtension Extension added: urn:ucomponents.xml, Xml 0.266412700496851 0.000043
    umbracoXsltExtension Extension added: urn:SiteHelper, SiteHelper 0.266449925898403 0.000037
    umbracoXsltExtension Extension added: urn:umbraco.contour, Library 0.266495741777237 0.000046
    umbracoMacro After adding extensions 0.266530313210198 0.000035
    umbracoMacro Before performing transformation 0.26658276401051 0.000052
    umbracoMacro After performing transformation 0.268133659445544 0.001551
    aspx.page End Init 0.268270827716931 0.000137
    aspx.page Begin InitComplete 0.268313221373107 0.000042
    aspx.page End InitComplete 0.268354288044989 0.000041
    aspx.page Begin PreLoad 0.268386065826802 0.000032
    aspx.page End PreLoad 0.268428040435307 0.000042
    aspx.page Begin Load 0.268460656312464 0.000033
    aspx.page End Load 0.268586440455421 0.000126
    aspx.page Begin LoadComplete 0.268623805539531 0.000037
    aspx.page End LoadComplete 0.268656491257967 0.000033
    aspx.page Begin PreRender 0.268687919833387 0.000031
    aspx.page End PreRender 0.355697511834605 0.087010
    aspx.page Begin PreRenderComplete 0.355770705494693 0.000073
    aspx.page End PreRenderComplete 0.356047416640942 0.000277
    aspx.page Begin SaveState 0.369461621518936 0.013414
    aspx.page End SaveState 0.369889818398707 0.000428
    aspx.page Begin SaveStateComplete 0.369929558086293 0.000040
    aspx.page End SaveStateComplete 0.369963012058795 0.000033
    aspx.page Begin Render 0.369998002539429 0.000035
    ItemRenderer Error rendering control  of Item 6 (NodeId '' : bodyText).
    Exception has been thrown by the target of an invocation.
      at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
      at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
      at System.Web.UI.WebControls.ValidatorCompatibilityHelper.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode)
      at System.Web.UI.WebControls.BaseValidator.AddAttributesToRender(HtmlTextWriter writer)
      at System.Web.UI.WebControls.RegularExpressionValidator.AddAttributesToRender(HtmlTextWriter writer)
      at System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer)
      at System.Web.UI.WebControls.BaseValidator.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at System.Web.UI.Control.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
      at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
      at umbraco.presentation.templateControls.Macro.Render(HtmlTextWriter writer)
      at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
      at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
      at umbraco.presentation.templateControls.ItemRenderer.Render(Item item, HtmlTextWriter writer)
    0.809577264708224 0.439579
    aspx.page End Render
  • Hamish 96 posts 154 karma points
    Apr 26, 2012 @ 00:50
    Hamish
    0

    Hey BaconBeastNZ, did you find a solution to this?

    I'm having the same issue?

  • Hamish 96 posts 154 karma points
    Apr 26, 2012 @ 01:05
    Hamish
    1

    Try adding ClientIDMode="AutoID" to the control declaration into the usercontrols/umbracoContour/RenderForm.ascx file. Example:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RenderForm.ascx.cs" Inherits="Umbraco.Forms.UI.Usercontrols.RenderForm" ClientIDMode="AutoID" %>
  • Will Morrison 8 posts 29 karma points
    Apr 24, 2013 @ 06:56
    Will Morrison
    0

    Hi, I'm seeing the same thing: and I saw the same problem here:http://our.umbraco.org/forum/umbraco-pro/contour/32208-Error-returning-dictionary-item-submit

    I'm using Umbraco 4.7.2 with contour 3.0.6

    Specifically, I'm using a SQLExpress Database as a DataSource - I'm not sure if that is part of the problem or not?
    The form was created and everything looked happy, but I noticed quickly that none of the submissions ever made it to the database.
    Upon closer inspection with UmbDebugShowTrace, I found the following errors occurring: 

    renderMacroRendering started (macro: Insert form from Umbraco Contour (Usercontrol), type: 3, cacheRate: 0)0.09008780887454760.000131 umbracoMacroUsercontrol added (/usercontrols/umbracoContour/RenderForm.ascx)0.09011078397393940.000023 loadUserControlUsercontrol added with id 'RenderForm_8'0.09027991981201480.000169 macro.loadControlPropertiesProperty added 'FormGuid' with value 'f2eda0b3-fa36-42fe-aa68-8575f43d04ec'0.09073404464892830.000454 libraryError returning dictionary item 'submit'
    No key submit exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)0.1302424166284970.039508 libraryError returning dictionary item 'next'
    No key next exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)0.130561135028570.000319 libraryError returning dictionary item 'prev'
    No key prev exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key) - See more at: http://localhost:49933/Request-An-Agent?UmbDebugShowTrace=true#sthash.tmQcsixA.dpuf

     

    I tried making the above change to "AutoID" but that doesn't seem to fix it.
    I'm seeing the same error.  Any ideas?

     

     

     

  • Comment author was deleted

    Apr 24, 2013 @ 08:49

    Hey Will,

    Looks like you are running a pretty old Umbraco version so might have been due to a bug in that version I would recommend to upgrade 

  • Will Morrison 8 posts 29 karma points
    Apr 30, 2013 @ 08:23
    Will Morrison
    0

    Tim,

    While I appreciate that what you're saying is probably true, I'm sortof torn inside...
    I spent a considerable amount of time a couple of months ago tearing my hair out because the latest version of Umbraco didn't work with the latest version of the (CWS) Creative Website Starter Kit.  I was (am still?) brand new working with umbraco - coming from a Sitecore CMS, c#.NET and Wordpress background from my day job, and I had to downgrade from 5.x and people at the time told me to go to 4.7.2 so that the razor scripts in CWS would work.

    Now that it is several months later, I am nearing the deadline for my project (day after tomorrow) and have 90% of my site finished, with only the contour forms acting up.  I'm just about ready to get my money back on Contour.  After the CWS fiasco and after having versioning problems with several other plugins, I looked specifically on the Contour site before purchasing to see if they had any known version conflicts, and/or unsupported versions.

    I never found that documentation anywhere, and I assumed it was well supported, being the "sponsored" plugin from the Umbraco company.
    So, was I wrong in assuming that they didn't have version conflicts?

    I think I'm going to ditch Contour and build my own forms.  Most of what I need to do they won't do anyways on my two more complex forms - I was just hoping to get an "easy" contact form out of the way. 

  • Comment author was deleted

    Apr 30, 2013 @ 08:51

    Well the dictionary item error shouldn't affect the form, it should still work. any chance I can take a look at the site and see if I can figure out why Contour isn't working? You can mail details to tg at umbraco dot com, thanks!

     

  • Will Morrison 8 posts 29 karma points
    May 02, 2013 @ 06:26
    Will Morrison
    0

    Tim,

    Thanks for the quick response, and sorry for my late-night angry forum post above. 
    I'm willing to help work out the issue - I like the general idea of Umbraco being open source and you guys working so hard to support the community.
    So I want to tell you that I appreciate what you're doing!

    I can't give you access to my client's production machine,
    but I can email you some dropbox links if you want to try to download and run the project.

    thanks for your help!

    -Will 

  • Comment author was deleted

    May 02, 2013 @ 10:18

    Yup that would be perfect :)

Please Sign in or register to post replies

Write your reply to:

Draft