'Could not load file or assembly Telerik.Web.UI' Server Error on K2 Sites

  • 16 February 2021
  • 0 replies
  • 329 views

Badge +5

Issue

Opening the K2 sites outside the K2 web server throws a Server Error.

 

Running the PowerShell commands below on the K2 web server show that the assembly is on the correct version (2020.1.114.35).

[System.Diagnostics.FileVersionInfo]::GetVersionInfo("{K2 Installation Folder}BinControlPack ControlsTelerik.Web.UI.dll").FileVersion [System.Diagnostics.FileVersionInfo]::GetVersionInfo("{K2 Installation Folder}K2 smartforms DesignerinTelerik.Web.UI.dll").FileVersion [System.Diagnostics.FileVersionInfo]::GetVersionInfo("{K2 Installation Folder}K2 smartforms RuntimeinTelerik.Web.UI.dll").FileVersion


On the K2 core/app server, only the assembly inside K2BinControlPack Controls was updated. The other two folders still had version 2015.3.930.40 inside.

Error Code

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Could not load file or assembly 'Telerik.Web.UI Version=2020.1.114.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

 

Resolution

On the K2 core/app server, replace the Telerik.WebUi.dll assembly on the folders below which still use version 2015.3.930.40:

  • {K2 Installation Folder}BinControlPack ControlsTelerik.Web.UI.dll
  • {K2 Installation Folder}K2 smartforms Runtimein
  • {K2 Installation Folder}K2 smartforms Designerin

 

 


0 replies

Be the first to reply!

Reply