Copied to clipboard

Flag this post as spam?

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


  • Greg Berlin 818 posts 634 karma points
    Apr 29, 2013 @ 20:47
    Greg Berlin
    0

    Upgrading Help Please

    I have a site running Umbraco 4.7.1.1 that I need to upgrade due to unsolveable Examine issues.

    The site is running uComponents 2.1.  There are various data types using uComponents, and I really don't want to have to recreate these if possible.

    I have tried installing uComponents 5.4 directly via the developer section (under Umbraco 4.7.1.1).  The install goes fine, but then each of the data types using uComponents throws this error (or similar) when i try to view it's settings in the Developer section:

     Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.
    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: Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.
    
    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: Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.]
       umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) +295
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() +194
       umbraco.cms.presentation.developer.editDatatype.Page_Load(Object sender, EventArgs e) +569
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
    
    

     

    Also, under installed Pacakges, uComponets is now listed twice - one for each version installed.  Am i supposed to uninstall the old one?  How then would i get the old data types transferred across to be using the new version?

     

    I am going to go ahead and upgrade Umbraco to v4.11.7 now... hoping this will fix the ucomponents issue i've now created.  

    If anybody can suggest a better way to do this, I'd be most appreciative.  What a painful upgrade this is, and the documentation around the upgrade process is confusing at best.  It'd be nice if the uComponents crew could put together an upgrade guide for people needing to do this same thing (which seems to cause headaches for ALOT of people out there).

    Thanks in advance

    Greg

  • Greg Berlin 818 posts 634 karma points
    Apr 30, 2013 @ 00:31
    Greg Berlin
    100

    Quick update... I went ahead and upgraded the site to v4.11.7, and now everything seems fine.  The uComponents data types are working again, and everything looks sweet.  Lets see if it solves the Examine indexing issues i've been experiencing...

    I also went ahead and uninstalled the uComponents 2.1 package... which actually broke uComponents as it removed uComponents.core.dll.  Uninstalling and Installing the latest version (5.4.1) again added it back and it's okay now.

    Hope this post helps somebody else out there that's not sure how to progress. It's nicer to know you're not wasting a whole bunch of time by experimenting hey. :)

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 30, 2013 @ 09:13
    Lee Kelleher
    0

    Hi Greg,

    Glad that you have it all sorted now.

    The main problem was with uComponents compatibility - v5.x only supports Umbraco v4.8+ (which is why you got a whole bunch of errors)

    http://ucomponents.org/compatibility/
    https://ucomponents.codeplex.com/

    The second issue with the Installed Packages section, it more of an Umbraco core concern - the package engine doesn't really do upgrades, hence why it shows multiple entries.  For future reference, those entries are stored in an XML file "~/App_Data/packages/installed/installedPackages.config", which can be manually edited.

    Cheers, Lee.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 30, 2013 @ 09:15
    Lee Kelleher
    0

    @Greg - genuine question - In terms of uComponents upgrade documentation, where would you expect to see/find it?

    (As what may seem logical to me, may not be for others)

    Thanks, Lee.

  • Greg Berlin 818 posts 634 karma points
    May 01, 2013 @ 21:00
    Greg Berlin
    0

    @Lee,  I think the most logical place to put it would be on the uComponents website alongside the documentation... and/or on the Umbraco Wiki somewhere.  With a link from the uComponents pages on Umbraco Projects and Codeplex pages.  I think that'd cover it :)

Please Sign in or register to post replies

Write your reply to:

Draft