Testimonial

"You’d be stupid not to use SEO checker. We now install it on all our sites as it helps us and our clients. An awesome tool."

Pete Duncanson, Offroadcode Ltd

 

SEOChecker and Umbraco 7.3

October 13, 2015

We have just released SEOChecker V1.9.3. This is a bugfix release and a must install version if you are using Umbraco 7.3. It fixes an error that was causing the redirect module to fail on Umbraco 7.3 and a few other issues.

SEOChecker and Umbraco upgrade to 7.3

If you upgraded your Umbraco version to 7.3  from a previous Umbraco version make sure to check your web.config file. Umbraco 7.3 comes with a new version of the HTML Agility pack (1.4.9) and SEOChecker is using version 1.4.6. If you don't have the correct assembly binding you will get the following exception during validation.

Exception: System.IO.FileLoadException: Could not load file or assembly 'HtmlAgilityPack, Version=1.4.6.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)
File name: 'HtmlAgilityPack, Version=1.4.6.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a' ---> System.IO.FileLoadException: Could not load file or assembly 'HtmlAgilityPack, Version=1.4.5.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)
File name: 'HtmlAgilityPack, Version=1.4.5.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a'

 The fix

This can easily be fixed by updating your web.config file and make sure that HTMLAgilitypack is using the following assembly binding

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


Again, this is only for upgrades, not for new installs.