corprate starter kit 5.0 SP1 - cant load

Posted by Community Admin on 05-Aug-2018 20:55

corprate starter kit 5.0 SP1 - cant load

All Replies

Posted by Community Admin on 10-May-2012 00:00

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)

Posted by Community Admin on 15-May-2012 00:00

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 >>

This thread is closed