IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
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
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important