More in this section

Forums / Developing with Sitefinity / Could not load file or assembly 'Telerik.Web.UI

Could not load file or assembly 'Telerik.Web.UI

2 posts, 0 answered
  1. rmoynihan
    rmoynihan avatar
    18 posts
    Registered:
    28 May 2007
    27 Jul 2008
    Link to this post
    Hi,

    I added the scheduler control to my application so I had to upgrade the Telerik.Web.UI to the latest version in order for the project to compile but now I get the following error on the News and Generic Content page when I try to create a new item. 

    Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    I have deleted the dll from the GAC so it should be picking up the new DLL from the bin folder but it is still looking for the old one.

    Thanks,

    Ronan

  2. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    29 Jul 2008
    Link to this post
    Hi rmoynihan,

    Changing the assembly for the RadControls should be followed by adding a Binding Redirect for this assembly in the web.config file.

    Please, follow the instructions from the User Manual section Upgrading RadControls, point 5.
    Take into consideration the fact that the example is for one control.
    Since you want to change all RadControls you need to use the Telerik.Web.UI.dll assembly.

    I hope this helps.
    Let us know if more instructions are needed.

    Kind regards,
    Nikifor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered