Copied to clipboard

Flag this post as spam?

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


  • Andrew 142 posts 98 karma points
    Sep 28, 2010 @ 13:24
    Andrew
    0

    The given key was not present in the dictionary.

    Hi 

    I get that error during install

    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) +72
       umbraco.cms.businesslogic.datatype.controls.Factory.DataType(Guid DataTypeId) +63
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() +106
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetByDataTypeId(Guid DataTypeId) +118
       Gecko.Uploadify.Installer.Install(Object sender, EventArgs e) +152
       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)

    I have tried removing all failed installs (dll, usercontrols etc) recycled my app pool, restared my IIS - based upon suggestions for this error in the forum. I have read it is also related to the dll being compiled with icompatible umbraco dll's??

    I am using Umbraco 4.5 and dotnet 4 - Any ideas how i can get around this?

    Thanks in advance
    Andrew

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 28, 2010 @ 14:08
    Lee Kelleher
    0

    Hi Andrew,

    The error message sounds like a data-type is trying to be loaded, but the 'render control' for it can not be found (or loaded).

    Is this a clean install or an upgrade?

    Cheers, Lee.

  • Andrew 142 posts 98 karma points
    Sep 28, 2010 @ 14:12
    Andrew
    0

    Yes - based upon the error - i realised it was related to the data type. It is a clean install (not an upgrade), although i have tried a couple of times - each time removing everything(as far as i can tell) and recycling the app pool.

    i wouldnt mind trying a manual install, but I cant seem to fin any instructions....

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 28, 2010 @ 14:42
    Lee Kelleher
    0

    Hi Andrew,

    This is just a guess, since I haven't tried the Uploadify data-type with Umbraco 4.5 (on .NET 4) - thinking that it might be compiled against .NET 3.5 ... causes a problem with your Umbraco install.

    If that's the case, then Dan (Drayne) would need to release a .NET 4.0 version of the data-type.

    Cheers, Lee.

  • dandrayne 1138 posts 2262 karma points
    Sep 28, 2010 @ 14:51
    dandrayne
    0

    Hi Guys

    That's strange - I've installed the newest version on .net 4 a few times over the last week or two.  Version 1.2 (http://our.umbraco.org/FileDownload?id=1153) is compiled against .net 4, but contains a bug with the maximum file size (it's capped at 4mb or so).  

    I'll see if I can ask (the extremely busy!) emanuel to have a look at this.

    Dan

  • Andrew 142 posts 98 karma points
    Sep 28, 2010 @ 14:54
    Andrew
    0

    yes - thats what i though - especially since i read about incompatible dll's. Dan dotnet 4 version?

  • dandrayne 1138 posts 2262 karma points
    Sep 28, 2010 @ 15:02
    dandrayne
    1

    I had thought a 3.5 version would be forwards compatible, but what I know about .net coding would all fit on the back of a stamp.  You could try http://our.umbraco.org/FileDownload?id=1153 but in that version you'd need to manually edit the usercontrol .ascx file to fix the filesize bug as reported http://our.umbraco.org/projects/website-utilities/gecko-uploadify/feedback,-suggestions,-bugs/12822-Size-limit

    Hopefully manny can find some time to look at this soon.

    Dan

  • Andrew 142 posts 98 karma points
    Sep 28, 2010 @ 15:03
    Andrew
    0

    Hi dan - thanks - let me try the 1.2 version. i have been trying the version in the repository and i downloaded 1.4. Will report back shortly. I am willing to do with a 4mb cap

  • Andrew 142 posts 98 karma points
    Sep 28, 2010 @ 15:07
    Andrew
    0

    unfortunately same problem with 1.2

  • Emanuel 63 posts 283 karma points
    Sep 29, 2010 @ 10:20
    Emanuel
    0

    Hi Andrew,

    I can't replicate the issue. Could you please post a description of your setup? Versions of: Umbraco, Windows, IIS, .NET.

    Thanks,
    Emanuel

  • Andrew 142 posts 98 karma points
    Sep 29, 2010 @ 12:32
    Andrew
    0

    Thanks Emanuel

    We are running:

    Server 2008
    IIS 7
    Umbraco 4.52
    Dotnet 4
    SQL Server 2005

    Other Packages?:
    Member Controls, Imagegen,utilities for 2.1, XSLTSearch,TagCloud, Captcha,Blog4Umbraco,PDCalendar, Zip Upload,Cogworks Navigation, Tribal YAMP,Desktop Media Uploader.

    I am willing to give a manual install a bash if you can give me some basic instructions

  • Emanuel 63 posts 283 karma points
    Sep 29, 2010 @ 14:58
    Emanuel
    2

    Hi Andrew,

    Your setup seems fine. I have a similar setup and it appears to be working.
    As per the instructions on the package installer, here's how you can manually install it:

    Add these files to your umbraco website:
    ~/bin/Gecko.Uploadify.dll
    ~/usercontrols/Gecko.Uploadify - the whole folder

    Create a Gecko Uploadify macro and bind it to the Uploadify user control inside usercontrols/Gecko.Uploadify
    Create the Gecko Uploadify data type in the developer section and under Render control select "Gecko Uploadify"
    Add an "Upload" tab to the Folder media type and add a "uploadFiles" property with the Gecko Uploadify data type.


    Let me know how you get on.
    Emanuel

  • Andrew 142 posts 98 karma points
    Sep 29, 2010 @ 15:16
    Andrew
    0

    Bit stupid of me to miss the instructions in the actual package - just had to press skip!

    Anyway - manual install worked like a charm. Everything is working 100%. What a great package!

  • Emanuel 63 posts 283 karma points
    Sep 29, 2010 @ 15:19
    Emanuel
    0

    Great news Andrew!

    If you'd like to show your appreciation, why not "Like" the project?
    If you go to http://our.umbraco.org/projects/website-utilities/gecko-uploadify, it's the number in the yellow box at the top right corner.

    Cheers,
    Emanuel

  • Petr Snobelt 923 posts 1535 karma points
    Nov 03, 2010 @ 18:50
    Petr Snobelt
    0

    I have same problem during installation so I try manual installation steps. When I try add new datatype to folder, I realize I cannot edit mediatypes!

    Fortunately after I delete dll from bin I'm able edit mediatypes again. 

    I don't give it up and decide to try older version - and it works OK. 

    I have umbraco upgraded from v3 and work under .NET 3.5

    Petr

     

     

Please Sign in or register to post replies

Write your reply to:

Draft