Copied to clipboard

Flag this post as spam?

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


  • Kieron 152 posts 390 karma points
    Apr 02, 2019 @ 10:40
    Kieron
    0

    Site down on install; HtmlAgilityPack

    Hi all, just installed, getting this repeated alot on page;

    Could not load all types from "SEOChecker.Validators, Version=2.2.3.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
    . System.IO.FileLoadException: Could not load file or assembly 'HtmlAgilityPack, Version=1.4.9.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    

    I found the thread about the dependancy, but I already have this set in the web.config :

      <dependentAssembly>
            <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.4.9.0" newVersion="1.4.9.0" />
          </dependentAssembly>
    

    Thanks

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Apr 02, 2019 @ 10:46
    Richard Soeteman
    0

    Do What version to you have in the /bin folder?

  • Kieron 152 posts 390 karma points
    Apr 02, 2019 @ 10:48
    Kieron
    0

    Just ripped it off and started again and it seems to flash up red during the install about a 'RestartCheck' and hangs indefinitely, there are files in the /bin, (which one will contain version data?)

    Nothing in web.config about SEO though.

    Thank you :)

    in bin folder

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Apr 02, 2019 @ 10:52
    Richard Soeteman
    0

    You need to check the version of HTmlAgilitypack.dll. What version of Umbraco are you using?

  • Kieron 152 posts 390 karma points
    Apr 02, 2019 @ 10:53
    Kieron
    0

    7.13.2 for Umbraco, but I cant open the .dll and just find a version number :D

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Apr 02, 2019 @ 10:58
    Richard Soeteman
    100

    Ah ok,

    I think you need to replace the binding to the following in web.config for that version

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

    Hope this helps,

    Richard

  • Kieron 152 posts 390 karma points
    Apr 02, 2019 @ 11:01
    Kieron
    0

    That's done it, thanks. :)

  • Kieron 152 posts 390 karma points
    Apr 02, 2019 @ 11:06
    Kieron
    0

    Quick other question, whats the best way to buy & test on a test domain, but then use it on the official domain too? I am working on x.subdomain.com, but the domain will need to be licensed to therealdomain.com eventually?

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Apr 02, 2019 @ 13:33
    Richard Soeteman
    1

    Just configure the test domain. I can always update the license file to work with the production domain.

    After purchase you can also configure a staging and dev domain in case you already know the production domain.

    Hope this helps and thanks in advance.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft