Try Now
More in this section

Forums / Bugs & Issues / Upgrade not updating Config files or Database

Upgrade not updating Config files or Database

3 posts, 1 answered
  1. Neil
    Neil avatar
    26 posts
    03 Aug 2011
    02 Jul 2015
    Link to this post

    I'm trying to upgrade one of our sites from 5.4.4010 to 7.3.5630.  The upgrade process using the Project Manager completes fine without any errors, but all the upgrade is doing is updating the Telerik DLLs to version 7.3.5630; all the config files and database tables remain on 5.4.4010, so when I try going to the site I get the following error:

    Could not load file or assembly 'Telerik.Sitefinity, Version=5.4.4010.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


    I thought I'd try upgrading to 5.4.4040, but the same thing happens.  The connection details in the DataConfig.config are definitely correct.

    Is there any specific reason why the config files and DB would not be updating?​

  2. Junior Dominguez
    Junior Dominguez avatar
    115 posts
    15 Sep 2017
    07 Jul 2015
    Link to this post
    Hi Neil,

    Please note that once the project is upgrade using the Project Manager, you need to build the project in Visual Studio and then browse the site. It is in that moment that the configuration files will be updated. 

    Also keep in mind that if your solution has for instance multiple projects you need to copy the new assemblies to the "bin" folder of those projects too. The project Manager only updates the assemblies in the bin of SitefinityWebApp. 

    You can alternately fix the problem by applying assembly bindings:

    http://www.sitefinitysteve.com/blog/code/2012/03/24/sitefinity-how-to-list#Avoid Version errors with Assembly Binding

    Best Regards,
    Junior Dominguez
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  3. Neil
    Neil avatar
    26 posts
    03 Aug 2011
    08 Jul 2015 in reply to Junior Dominguez
    Link to this post

    Hi Junior,

    Adding in assembly bindings seems to have done the trick.


     Many thanks,


3 posts, 1 answered