+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Assembly Problem After Upgrated Project

Assembly Problem After Upgrated Project

9 posts, 0 answered
  1. Cem
    Cem avatar
    7 posts
    Registered:
    02 May 2012
    02 May 2013
    Link to this post
    Hi,

    I have upgrated Sitefinity 5.4 to 6.0 today. But now my custom widgets are returns me the following error:

    Could not load file or assembly 'Telerik.Sitefinity, Version=5.4.4020.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 have rebuild my solution but nothing's changed. Can anyone help me?
  2. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    02 May 2013 in reply to Cem
    Link to this post
    Hi Cem,

    If you have referenced other projects or components, be sure that they are also compiled against this new version.

    Sometimes when using custom made widgets in your project or when you reference UserControls, the version and assembly numbers are also placed inside your code. In this case you should do a find and replace inside your whole project. Search for the 5.4 string and replace it with the 6.0 version string.

    Let me know if this help you?

    Kind regards,
    Daniel
  3. Cem
    Cem avatar
    7 posts
    Registered:
    02 May 2012
    02 May 2013 in reply to Daniel Plomp
    Link to this post
    Hi Daniel,

    Now I got bigger problem. My project cannot open. I just rebuild my solution, I didn't change anything. 

    Server Error in '/TBF' Application.
     
    HTTP Error 400 - Bad Request.
     
    Version Information: Telerik Web Server 6.0.4100.0
  4. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    02 May 2013 in reply to Cem
    Link to this post
    Hi Cem,

    Could you let me know what you changed?

    Kind regards,
    Daniel
  5. Cem
    Cem avatar
    7 posts
    Registered:
    02 May 2012
    02 May 2013 in reply to Daniel Plomp
    Link to this post
    I didn't change anything. I've rebuild my solution.
  6. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    02 May 2013 in reply to Cem
    Link to this post
    Hi Cem,

    Hard to say without more information. Try to restart your website, check to see if any references are missing.

    Kind regards,
    Daniel
  7. Arno
    Arno avatar
    249 posts
    Registered:
    08 Sep 2010
    02 May 2013
    Link to this post
    I had the same error right after the upgrade. In my case it helped to Rebuild in Visual Studio, not just Build. If you have several Projects in your Solution it may help to choose Rebuild for each Project separately, instead of the whole Solution at once. The order depends on how Projects may depend on each other.
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 May 2013
    Link to this post
    Hello Cem,

    There should be an error log file. Can you please attach it to this thread? 

    Regards,
    Georgi
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  9. Trung
    Trung avatar
    2 posts
    Registered:
    16 May 2012
    13 Jul 2013
    Link to this post
    That's always much of problems each time upgrade my project, I meet the same issue
    So, to resolve it, after upgrade your project, let create new project  and then copy all dll files from new project and replace them in your project. Hope it work
9 posts, 0 answered