Copied to clipboard

Flag this post as spam?

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


  • Sam Flanagan 47 posts 147 karma points
    Feb 28, 2014 @ 12:48
    Sam Flanagan
    0

    SEO Checker 1.5 Install Fails on Umbraco 6.1.3

    Hi

    I've successfully installed SEO Checker 1.5 on an Umbraco 4.11.10 installation. Great package! However, when I try to install on an Umbraco 6.1.3 installation, the install fails with the message "Could not load file or assembly HTMLAgilityPack, Version=1.4.5" (see screenshot). After this, the content tree is no longer accessible and so the site has to be restored from backup.

    It notice that in the Umbraco bin folder, version 4.11.10 has HtmlAgilityPack.dll v1.4.5, but Umbraco 6.1.3 has HtmlAgilityPack.dll v1.4.6. Not sure if this is the problem?

    Can you help?

    Many thanks

    Sam

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Feb 28, 2014 @ 13:22
    Richard Soeteman
    100

    Hi Sam,

    Great that you like the SEOChecker. I assume this 6.1.3 site is an upgrade form an older version of Umbraco and the following lines are missing in your web.config file on the assemblyBinding section. Add it and all should be good.

     <!-- Ensure correct version of HtmlAgilityPack -->
          <dependentAssembly>
            <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
            <bindingRedirect oldVersion="1.4.5.0-1.4.6.0" newVersion="1.4.6.0" />
          </dependentAssembly>
    

    Hope this helps,

    Richard

  • Sam Flanagan 47 posts 147 karma points
    Feb 28, 2014 @ 15:22
    Sam Flanagan
    0

    Thanks Richard, I'll give this a go and let you know.

    ... it worked, great, thanks.

Please Sign in or register to post replies

Write your reply to:

Draft