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

Forums / Bugs & Issues / Error on startup after upgrade - Could not Load Assembly

Error on startup after upgrade - Could not Load Assembly

2 posts, 0 answered
  1. John Tolar
    John Tolar avatar
    87 posts
    Registered:
    07 May 2003
    09 Aug 2011
    Link to this post
    I recently upgraded my project from 4.1 SP1 to 4.1 SP3 and everything seems to be working (after fixing the problems that SP3 exposed). The only problem I have right now is that when the application first starts I get the following error:

    Could not load file or assembly 'Telerik.Sitefinity.Model, Version=4.1.1395.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.


    Source Error: 

    Line 11: <body>
    Line 12:     <form id="Form1" runat="server">
    Line 13:     <asp:ScriptManager ID="ScriptManager1" runat="server" />
    Line 14:     <div id="wrapper">
    Line 15:         <div class="header">

    Source File: c:\Users\jtolar\Documents\Visual Studio 2010\Projects\Sitefinity Projects\Client Projects\HighlandCapitalBrokerage\Website\App_Master\PublicIndex.Master    Line: 13 


    If I hit F5 to refresh it goes away. but I have also noticed that all the providers in my config files still have the old version.

    <securityProviders>
    <add version="4.1.1395.0" name="OpenAccessDataProvider" />
    </securityProviders>

    Any thoughts?
  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    10 Aug 2011
    Link to this post
    Hi John,

    This issue is related to the fact that when you updated your application to the new build, some of the old assembly references remained the same. You should change all of the old assembly references to the new assemblies (you can use the assemblies from the  Empty Project that is created in the Projects directory of your Sitefinity folder by default with each update).

    Best wishes,
    Svetoslav Petsov
    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
2 posts, 0 answered