You can encounter this type of error after upgrading Sitefinity CMS to a higher version or after adding new NuGet package to it. The upgrade passes and completes, but the website shows an error message on startup.
Because the upgrade of Sitefinity CMS consists of replacing the Sitefinity CMS specific assemblies with assemblies that have higher version, any common Microsoft .NET assembly related problem may occur during the upgrade.
The exception occurs in the following format:
Could not load file or assembly 'assembly name, Version=version number, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies.
The exception can relate to Telerik.Sitefinity assemblies or to any other assembly. The error message indicates one of the following problems:
Telerik.Sitefinity
EXAMPLE: You are upgrading Sitefinity CMS from version 10.2.6600.0 to version 11.0.6700.0. When the site initializes the following error message appears: Could not load file or assembly 'Telerik.Sitefinity.Utilities, Version=10.2.6600.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies.
Because the site is upgraded to 11.0.6600.0 there must be no more assemblies with version 10.2.6600.0. There must be either a leftover assembly Telerik.Sitefinity.Utilities.dll with version 10.2.6600.0 or a <bindingRedirect> rule in web.config that instructs the compiler to search for assembly with this version.
Telerik.Sitefinity.Utilities.dll
<bindingRedirect>
web.config
Perform the following:
With very complex sites sometimes is hard to determine the third-party assembly or custom class library that references the assembly with incorrect version. In this case, you can configure ASP.NET to indicate what is calling the missing assembly. This can help troubleshoot the version mismatch.
To do so, perform the following:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\FUSLOGVW.exe
EXAMPLE: You are upgrading Sitefinity CMS from version 10.2.6600.0 to version 11.0.6700.0. When the site initializes the following error message appears: Could not load file or assembly 'Telerik.Sitefinity.Utilities, Version=11.0.6700.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies.
In this case the assembly is the correct version, but it is missing from the site.
This can be due to one of the following:
Telerik.Sitefinity.Utilities
bin
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important