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

Forums / Sitefinity SDK / corprate starter kit 5.0 SP1 - cant load

corprate starter kit 5.0 SP1 - cant load

2 posts, 0 answered
  1. Knut
    Knut avatar
    36 posts
    Registered:
    12 Apr 2009
    10 May 2012
    Link to this post
    When i run the sampe site i got following error

    Could not load file or assembly 'Telerik.Sitefinity' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    15 May 2012
    Link to this post
    Hi,

    The first reason of the problem might be that you reference to another module/control  that has been built using the old .dll files.

    First of all you should delete the references of your controls / modules /  and add the new ones from the bin folder of your SitefinityWebApp project. After that you have to build your custom modules / or controls /,  delete the old references from the SitefinityWebApp project and add the newly built dlls of your updated modules and controls. Finally you have to build the entire solution and the problem should be fixed.

    The second reason of the problem might be connected to the version of the reference so can you please try to use bindingRedirect element it in you web.config file:

    http://msdn.microsoft.com/en-us/library/eftw1fys.aspx
     
    For example you can use the source code bellow and make the necessary changes in your versions:

    <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
          <assemblyIdentity name="Telerik.Sitefinity"
                            publicKeyToken="b28c218413bdf563"
                            culture="neutral" />
          <bindingRedirect oldVersion="2011.3.1115.40"
                           newVersion="2012.1.215.40"/>
        </dependentAssembly>
      </assemblyBinding>
      </runtime>

    Greetings,
    Stefani Tacheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

2 posts, 0 answered