Copied to clipboard

Flag this post as spam?

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


  • suvarna 11 posts 81 karma points
    Sep 06, 2018 @ 07:12
    suvarna
    0

    Hi , I installed latest package of "Install-Package Lecoati.LeBlender" . It reflected newtonsoftjson verson and i modified newtonsoftjson version to 5.8.0 and it is throwing below error. PLease post any suggestions.

    Could not load type 'Umbraco.Web.Trees.TreeController' from assembly 'umbraco, Version=1.0.5529.18437, Culture=neutral, PublicKeyToken=null'.

    Thanks, Suvarna M

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 06, 2018 @ 08:53
    Sven Geusens
    0

    Could you tell us the version of Umbraco you are using?

  • suvarna 11 posts 81 karma points
    Sep 06, 2018 @ 09:24
    suvarna
    0

    6.2

    Thanks, Suvarna M

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 06, 2018 @ 09:28
    Sven Geusens
    0

    Umbraco 6.2 needs a newtonsoft.json version of (>= 4.5.11 && < 5.0.0)

    That is probably why your umbraco installation is no longer working. See the nuget depedency list for all dependencies.

    Is there a reason why you need that specific version of newtonsoft.json?

  • suvarna 11 posts 81 karma points
    Sep 06, 2018 @ 09:41
    suvarna
    0

    The umbraco version was 6.2 and newtonsoftjson was 5.0.8 intially. Then i installed the package called "Lecoati.LeBlender" . due to this newtonsoftjson updated to 6.0 and throwing the error "Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)".

    please suggest how to revert the version changes.I made changes in packages.config file as well but it was of no use.Please comment your suggestions.

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 06, 2018 @ 09:52
    Sven Geusens
    0

    Easiest way would be to use sourcecontrol and just revert.

    Barring that. If you installed Umbraco/Leblender trough nuget.

    1. Go into your packages folder, look for the correct version of json and copy its dll to in your bin.
    2. Delete the leblender dll from your bin
    3. Delete the leblender directory in /app_plugins
    4. Your umbraco installtion should work again

    Next you will have to upgrade umbraco to a minimum of 7.2 to be able to use Leblender as i just checked the package page and there is no version that supports any lower umbraco version. (archived files => look at for umbraco under each entry)

  • suvarna 11 posts 81 karma points
    Sep 06, 2018 @ 10:00
    suvarna
    0

    I used this from nugetpackage console of visual studio to unintall the package.

    "uninstall-package mypackage -removedependencies -force". Is it the right way to un install the package ?

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 06, 2018 @ 10:13
    Sven Geusens
    0

    Don't know, I usually use the manage nuget package window in VS

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Sep 06, 2018 @ 10:34
    Dave Woestenborghs
    0

    Hi Suvarna

    Leblender won't work on Umbraco 6.2

    Leblender is an extension for the grid editor. That is only part of Umbraco since 7.2.

    Dave

  • suvarna 11 posts 81 karma points
    Sep 06, 2018 @ 10:39
    suvarna
    0

    yes Dave. The umbraco version was 6.2 and newtonsoftjson was 5.0.8 intially. Then i installed the package called "Lecoati.LeBlender" . due to this newtonsoftjson updated to 6.0 and throwing the error "Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)".

    Now i want to revert the version changes of umbraco and dll changes of umbraco. I changed in packages file but there is of no use

Please Sign in or register to post replies

Write your reply to:

Draft