Could not load file or assembly 'Telerik.Windows.Controls.Scheduler

5 posts, 0 answers
  1. Ticket Solutions Account
    Ticket Solutions Account avatar
    15 posts
    Member since:
    Nov 2007

    Posted 25 May 2011 Link to this post

    Hey,

    I have just updated my project to version 2011.1.419.1040 from 2010.2.714.1040 using the telerik upgrade wizard in VS2010 and am now getting this error.

    The control could not be loaded:
    Could not load file or assembly 'Telerik.Windows.Controls.Scheduler, Version=2011.1.419.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The requested assembly version conflicts with what is already bound in the app domain or specified in the manifest. (Exception from HRESULT: 0x80131053)

    I have tried manually adding the dll files to the GAC and this didn't help either. The project compiles with no errors it is just at run time.

    Is there a difference in the requirements for the Scheduler? 

    Regards,
    Andrew
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 26 May 2011 Link to this post

    Hi Andrew,

    This error typically happens in scenarios where a ClassLibrary/ControlLibrary project uses a RadControls distribution different than the one used by the main Silverlight project.

    Could it be that your solution consists of several projects, where the main Silverlight project was upgraded and some of the other projects use the older RadControls for Silverlight assemblies?

    Kind regards,
    Erjan Gavalji
    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. DevCraft banner
  4. Joe
    Joe avatar
    15 posts
    Member since:
    Apr 2011

    Posted 06 Jul 2011 Link to this post

    I am having the same type of problem with Telerik WPF controls.
    I can see threads like this that are started and never resolved.
    I am having trouble executing RadSplitButton and RadDataGrid in WPF.
    The same error: Could not load file or assembly 'Telerik.Windows.Controls, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
    I have added every single project reference that is included in the Telerik demos without resolving the problem.
    I have tried changing my XAML reference from this:
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    to this:
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    with no success.
    I do not want to, nor do I think I should need to fool around with my GAC.  The Telerik install needs to set up my workstation in the best state for to adding Telerik controls into Visual Studio 2010 solutions.  I figure that I do not need to do extra work.
    Why are Telerik controls SO hard to use?
    Joe
  5. Joe
    Joe avatar
    15 posts
    Member since:
    Apr 2011

    Posted 06 Jul 2011 Link to this post

    I just uninstalled Telerik, deleted the Telerik directory, restarted Windows7 and reinstalled Telerik.
    I still have the same problem!
    Could not load file or assembly 'Telerik.Windows.Controls, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
    Joe
  6. Joe
    Joe avatar
    15 posts
    Member since:
    Apr 2011

    Posted 06 Jul 2011 Link to this post

    I have resolved my problem.

     

    I added a Telerik RadSplitButton to a UserControl.  When I added the UserControl to another UserControl, or a Window, it compiled but did not run.  It turns out that dragging a Telerik control on my UserControl automatically added Visual Studio Project References that are helpful but hid the details from me.  Once I determined the Telerik automatic Project Reference updates I documented them and can provide instructions for adding the necessary Project References when making use of our new UserControl.

     

    Here’s my list of automatically added Project References for the RadSplitButton:

     

    • System.Configuration

    • Telerik.Windows.Controls, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7

    • UIAutomationProvider

    • UIAutomationTypes


    I hope this helps someone.


    Joe

Back to Top
DevCraft banner