1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Could not load file or assembly 'Telerik.Web.UI,

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

3 posts, 0 answered
  1. Sparks IT Ops
    Sparks IT Ops avatar
    26 posts
    Registered:
    26 Oct 2010
    30 Dec 2010
    Link to this post
    Hi, I've loaded the 4.0 RC, and created a project. Whn I open the site in vs2010 the installer asked if I wanted to load and upgrade the radcontrols I'm licenced for. I did and now the entire framework fails with the following message. Any idea how to resolve it? I understand that somthing is now mismatched.

    Could not load file or assembly 'Telerik.Web.UI, Version=2010.3.1109.40, 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)

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2010.3.1109.40, 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)
  2. Sparks IT Ops
    Sparks IT Ops avatar
    26 posts
    Registered:
    26 Oct 2010
    31 Dec 2010
    Link to this post
    An Update,
    if you create a new site, it's created with the trial version of the dll, not the installed registered version. The trial version seems to want to see the trial version of telerik.web.ui as well.
    -geoff
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    31 Dec 2010
    Link to this post
    Hi Geoff,

    Thank you for using our services.

    The Sitefinity isntaller and project manager come with their own version of the Telerik.Web.UI.dll. The version which was used to build the system. We try to upgrade the controls in the CMS frequently, but sometimes they are not the latest controls released.

    The problem you are experiencing is because almost the whole UI of Sitefinity is built using RadControls for ASP.NET Ajax. This means that the Sitefinity assemblies reference the particular version of Telerik.Web.UI.dll which is in the bin of the Stiefinity website. When you have upgraded the controls from the VS dialog you have substituted the assembly with a newer one. To fix the problem you must either revert the assembly to in the bin folder or use a binding redirect.
     
    Best wishes,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered