Copied to clipboard

Flag this post as spam?

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


  • David Conlisk 432 posts 1008 karma points
    Jun 23, 2010 @ 10:13
    David Conlisk
    0

    Installation error in 4.1RC

    I just tried to install the package in version 4.1RC (.NET 4) and I got the following exception:

    The given key was not present in the dictionary. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

    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:

    Line 59:         foreach (DataTypeDefinition dt in DataTypeDefinition.GetAll())
    Line 60:         {
    Line 61:             if (dt.DataType != null && dt.DataType.Id.Equals(DATATYPE_UID))
    Line 62:                 ddMultipleFileUpload = dt;
    Line 63:         }


    Source File: c:\Projects\StepstoneSolutions\website_umbraco\deploy\usercontrols\MultipleFileUpload\Installer.ascx.cs    Line: 61

    Stack Trace:

    [KeyNotFoundException: The given key was not present in the dictionary.]
       System.Collections.Generic.Dictionary`2.get_Item(TKey key) +2252153
       umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\factory.cs:50
       umbraco.cms.businesslogic.datatype.controls.Factory.DataType(Guid DataTypeId) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\factory.cs:40
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\DataTypeDefinition.cs:53
       usercontrols_MultipleFileUpload_Installer.Install(Object sender, EventArgs e) in c:\Projects\StepstoneSolutions\website_umbraco\deploy\usercontrols\MultipleFileUpload\Installer.ascx.cs:61
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    



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

  • David Conlisk 432 posts 1008 karma points
    Jun 23, 2010 @ 10:24
    David Conlisk
    0

    I tried completing the rest of the installation by following the manual steps, but now my folders are all throwing exceptions in the Media section. When you click on a folder you get this YSOD (hopefully the formatting is a bit better this time!):

     

    The given key was not present in the dictionary.
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            

    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.Collections.Generic.Dictionary`2.get_Item(TKey key) +2252153
       umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\factory.cs:50
       umbraco.cms.businesslogic.datatype.controls.Factory.DataType(Guid DataTypeId) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\factory.cs:40
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\DataTypeDefinition.cs:53
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetByDataTypeId(Guid DataTypeId) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\cms\businesslogic\datatype\DataTypeDefinition.cs:255
       noerd.Umb.DataTypes.multipleFileUpload.MultipleFileUploadDataType.get_DataEditor() +64
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\presentation\umbraco\controls\ContentControl.cs:273
       umbraco.controls.ContentControl.CreateChildControls() in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\presentation\umbraco\controls\ContentControl.cs:121
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\presentation\umbraco\controls\ContentControl.cs:153
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editMedia.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\75c63e4d2422667e\umbraco\presentation\umbraco\editMedia.aspx.cs:88
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    


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

     

     

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Jun 23, 2010 @ 10:28
    Niels Hartvig
    0

    Could you check if you have umbraco.editorControls.dll in your /bin folder?

  • David Conlisk 432 posts 1008 karma points
    Jun 23, 2010 @ 10:31
    David Conlisk
    0

    Anyway these are the issues that I've had with 4.1RC - hope that helps. Would be awesome to get a working version of this great package for 4.1 :) (flattery will get you everywhere?)


    Keep up the good work!

    David

  • David Conlisk 432 posts 1008 karma points
    Jun 23, 2010 @ 10:33
    David Conlisk
    0

    Hey Niels,

    Aren't you supposed to be busy with something this week? :)

    Yes, umbraco.editorControls.dll exists in the bin folder (v1.0.3820.15211).

    Thanks,

    David

Please Sign in or register to post replies

Write your reply to:

Draft