Copied to clipboard

Flag this post as spam?

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


  • Andrew 4 posts 34 karma points
    Aug 07, 2013 @ 19:05
    Andrew
    0

    Error installing package

    I hope this is the right place to get any thoughts about this.

    I'm new to umbraco and have inherited an existing site. I've tried installing this package (2.0.6) through the "Umbraco package repository" but I get an error:

    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.]
       umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) +325
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.Import(XmlNode xmlData) +673
       umbraco.cms.businesslogic.packager.Installer.InstallBusinessLogic(Int32 packageId, String tempDir) +344
       umbraco.presentation.developer.packages.Installer.processInstall(String currentStep) +406
       umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +933
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1008

    A "Google Map" data type is created, but when I click the data type I get a "No node exists with id..." error. A "Google Maps for Umbraco" entry shows in the "Installed packages" folder but reports "Package doesn't contain any items". 

    This is umbraco v 4.7.0 (Assembly version: 1.0.4868.25116). Any thoughts? Am I doing something stupid?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 08, 2013 @ 12:38
    Jeroen Breuer
    0

    Did you already try to uninstall and install the package again? Check if there is a Google Maps dll in the bin folder.

    Jeroen

  • Andrew 4 posts 34 karma points
    Aug 08, 2013 @ 13:01
    Andrew
    0

    There's no google maps dll in the bin folder - I'm looking for Our.Umbraco.GoogleMaps.dll (I have it successfully installed on a local dev site).

    The google maps data type is now now longer reporting an error but has some default record settings (first entry in the dropdown for "Render control" and blank "Data editor GUID").

    I guess it's possible someone has tried to install it in the past though

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 08, 2013 @ 13:12
    Jeroen Breuer
    0

    That means you have an empty datatype. If it's empty it's not going to work and it's better to remove it because it can cause problems with other packages.

    Jeroen

  • Andrew 4 posts 34 karma points
    Aug 08, 2013 @ 13:49
    Andrew
    0

    Now that the datatype is no longer producing a "No node exists with id..." error I have been able to delete it.

    I have also used the "Uninstall" option on the google maps package.

    I've tried reinstalling the Google Maps package after this, but have encountered the same error as in my initial post.

    Is there a way in Umbraco that I can test package installation in general? For example is there some other super-simple super-stable package that I could try installing (so long as it's not already installed)? Is it possible that installing from the repository is disabled in some way eg through folder permissions?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 08, 2013 @ 13:52
    Jeroen Breuer
    100

    You could try to install the FamFamFam Icons which will almost always work.

    Jeroen

  • Andrew 4 posts 34 karma points
    Aug 08, 2013 @ 16:16
    Andrew
    0

    Ok, well, it was the permissions on the bin folder, so all sorted now, nothing to do with this specific package, the package was simply the first I had tried installing.

    Some sort of message from the package installer to the effect that there was a permission problem might have been nice though? But I expect if you are setting a site up from scratch it's not an issue as you will have set permissions yourself.

    Thanks for your help Jeroen!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 08, 2013 @ 16:20
    Jeroen Breuer
    0

    Hi Andrew,

    Glad I could help. If you have a feature request you can add it here: http://issues.umbraco.org/dashboard#newissue=yes

    Please mark the post as the solution if it answered your question.

    You can do it by clicking on solution icon. 

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft