Copied to clipboard

Flag this post as spam?

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

  • Ed Knight 16 posts 99 karma points
    Feb 06, 2015 @ 02:55
    Ed Knight

    uSync: IndexOutOfRangeException: Index was outside the bounds of the array

    I am trying to do an upgrade of a large site with many Data Types from 6.1.6 to 7.2.1. Our challenge is that we cannot really freeze the live site while we take time to upgrade so we are looking to do as much pre-work as possible. Part of that pre-work was looking at correcting all the Data Types for 7.2.1 which I have done in an upgraded version of the site. I installed uSync on the 7.2.1 version and exported all updated / fixed settings for 7.2.1. 

    The next step (and part of the test for proof of concept) was to start with a new upgraded version of the site from 6.1.6 to 7.2.1 but this time, instead of manually doing all the Data Type fixes, just run uSync. Sounds good right?

    So, I copy in the Usync content with all the corrected Data Types into this freshly upgraded version of the site sitting on 7.2.1. When I try to run import, or update on start with uSync I get the attached error. "IndexOutOfRangeException: Index was outside the bounds of the array"

    Has anyone seen this error before and what can I do to try and correct this.


  • Kevin Jump 1753 posts 11263 karma points MVP 4x c-trib
    Feb 06, 2015 @ 09:45
    Kevin Jump


    I think you are getting the same error I was doing an upgrade too.

    It relates to Mapping of MediaType / ContentType Ids for MultiNode Pickers, there was a bug in how uSync was handling the mapping if it the MNTP was mapped to the root. 

    It's fixed in the latest patch for uSync (which isn't packaged yet) 

    you just need to update jumps.umbraco.usync.dll from github

    that resolved the above problem for me. 



  • Ed Knight 16 posts 99 karma points
    Feb 06, 2015 @ 21:26
    Ed Knight

    Hi Kevin,

    Thanks so much for your quick response. Your latest patch worked like a charm. 

    When Usync kicks in on an update like this, it feels like magic when you go back in and look at the Data Types and see them all updated. It saves countless, manual hours - and is a crucial part in our update path U7 update. Thank you so much!


  • Biagio Paruolo 1492 posts 1633 karma points c-trib
    Nov 29, 2019 @ 10:26
    Biagio Paruolo

    Restart App Pools

Please Sign in or register to post replies

Write your reply to: