After attempting to upgrade a website to CMS6R2, the upgrade appears to work fine but when I run the site I get the following error:
Could not load file or assembly 'EPiServer.WebDav' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
I've tried the following:
I'm using IIS7 on windows 7. Any help very much appreciated.
EPiServer.WebDav assembly has references to EPiServer.Framework, EPiServer.Data, EPiServer, EPiServer.BaseLibrary. Can you check that you have all that assemblies in site bin folder and versions are correct?
You can also check /configuration/runtime/assemblyBinding section, probably this issue can be solved by correcting assembly binding redirects.
Thank you. Pointed me in the right direction. The assemblyBinding section had been updated correctly but we had old version dlls in the bin folder. Couldn't fathom it then remembered we had a post build event - this was copying the old dlls back in. Doh. NB: We implemented the post build event following this model: http://world.episerver.com/Blogs/Magnus-von-Wachenfeldt/Dates/2010/2/Setting-up-a-Maintainable-EPiServer-Site--Part-1/