Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Feb 26, 2015 @ 17:28
    Craig100
    0

    HTML Agility Pack version

    When I upgraded a 7.2.1 site to 7.2.2 the web.config had a reference to HTML Agility pack version 0.0.0.0-1.4.6.0. When I did a fresh install of 7.2.2 web.config has version 0.0.0.0-1.4.9.0 in it. Starting the site produced a YSOD about not finding HTML Agility pack version 0.0.0.0-1.4.9.0.  I reverted the version to 0.0.0.0-1.4.6.0 and all worked.

    Is there an issue here? Could this setting have been overwritten by a package or is that unlikely?

    Cheers,

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Mar 01, 2015 @ 10:57
    Craig100
    0

    Ditched the upgrade and rebuilt on a virgin install of 7.2.2. Now sorted.

    Craig

  • Bjarne Fyrstenborg 1280 posts 3990 karma points MVP 7x c-trib
    Mar 01, 2015 @ 18:06
    Bjarne Fyrstenborg
    0

    Hi Craig

    Yesterday I upgraded my site from 7.1.8 to 7.2.2 via NuGet. I didn't get any errors during install and after that I upgraded some packages. When I then installed Slimsy 1.1.4 I got an error: https://our.umbraco.org/projects/website-utilities/slimsy/slimsy-feedback/61805-Error-during-install-of-Slimsy-114

    In my case the bindingRedirect for HtmlAgiltyPack in web.config was to 1.4.6.0, but when I in /bin folder right-click on HtmlAgiltyPack.dll and choose the tab "properties" I noticed that the version was 1.4.9.0 .. so I changed the bindingRedirect for HtmlAgiltyPack in web.config to 1.4.9.0 and it worked again.

    Not sure why that happened.. if you download the zip-file for 7.2.2 of Umbraco and unpack it, which version does HtmlAgiltyPack.dll have?

    /Bjarne

  • Craig100 1136 posts 2523 karma points c-trib
    Mar 02, 2015 @ 00:39
    Craig100
    0

    Just checked here (http://htmlagilitypack.codeplex.com/releases/view/90925) and the latest version is 1.4.6, so why are we trying to install 1.4.9?

  • Robert J. Bullock 386 posts 405 karma points
    Apr 19, 2015 @ 16:23
    Robert J. Bullock
    0

    Not true. Latest version of HTML Agility Pack is 1.4.9. I found out the hard way. I installed it via Nu Get and it broke Umbraco 7.2.4. Whenever I'd publish a node with a RichText Box control, apparently the Agility Pack would be used but Umbraco expects 1.4.6 and chokes on 1.4.9.

  • Craig100 1136 posts 2523 karma points c-trib
    Oct 02, 2015 @ 18:41
    Craig100
    0

    I just had this exact same issue installing Slimsy on a fresh install of 7.3.0. Web.Config HtmlAgilityPack version reference changed to 1.4.6 causing a YSOD in the backend. Changed to 1.4.9 and all ok.

Please Sign in or register to post replies

Write your reply to:

Draft