Could not load file or assembly 'Telerik.Sitefinity.Ana

Posted by Community Admin on 04-Aug-2018 13:26

Could not load file or assembly 'Telerik.Sitefinity.Analytics.Server.Infrastructure

All Replies

Posted by Community Admin on 24-Jul-2014 00:00

Hello,
Could not load file or assembly

'Telerik.Sitefinity.Analytics.Server.Infrastructure, Version=4.3.1885.0,

Culture=neutral, PublicKeyToken=null' or one of its dependencies. The

located assembly's manifest definition does not match the assembly

reference. (Exception from HRESULT: 0x80131040)
This error occur when i'll upgrade to 7.1 version.

Posted by Community Admin on 29-Jul-2014 00:00

Hello Rohin,

Regarding the exception, apparently Sitefinity is looking for an older version of the Analytics assembly. This could happen e.g. if you have some external library built using an older Analytics version. This could be avoided if you rebuild the external library using the new Analytics dll used by your upgraded Sitefinity project.

Another, faster approach to fix this is by adding a binding redirect in your web.config file:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
            <assemblyIdentity name="Telerik.Sitefinity.Analytics.Server.Infrastructure" publicKeyToken="YourToken" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="your 7.0 dll version"/>
        </dependentAssembly>
    </assemblyBinding>
</runtime>


I hope this helps. Please get back to me if the issue persists.


Regards,
Vassil Vassilev
Telerik
 
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
 

This thread is closed