Themes error since installation of Q3

4 posts, 0 answers
  1. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 20 Nov 2008 Link to this post

    Hello,
    Since I install the Q3 version of Telerik, I keep having pop-Up message Errors.
    The first one is about two different Assemblies:
    "Visual Studio is attempting to load class instances from different assembly than the original used to create your components.
    This will result in failure to load your designed components.."


    a "theme errors". saying :

    And the other one is about themes
    "Error loading theme from Telerik.WinControls.Themes.Button.XML : System.InvalidCastException: At least one element in the source array could not be cast down to the destination array type..."
    A message error appears for every controls in my forms...

    I hope you can help solve My problem
    Thak you
    Shirya


  2. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 24 Nov 2008 Link to this post

    Hi Shirya,

    This issue occurs when you have two versions of RadControls for WinForms in you GAC and when Visual Studio is trying to reference to both of them. Here are some typical scenarios that you may have encountered:
    • Referencing two versions of RadControls assemblies. You may have references to two or more versions of RadControls in your project (or projects in one solution). Most probably, you have a theme component referencing to the an older version of the respective assembly.
    • Having project references to one version, but having controls in your Toolbox with another. When you try to drag and drop a component from your Toolbox with version different that the version currently referenced, you may get error messages.
    What you should do is making sure that your project is referencing to only one version of RadControls assemblies. It will be best if you uninstall any version prior to the latest one. Then, in Visual Studio you should close the design-time form and close and reopen Visual Studio itself. Also, make sure that the controls in the Toolbox refer to the latest version as well.

    I hope this helps. If you have additional questions, feel free to contact me.

    Greetings,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 24 Nov 2008 Link to this post

    Hi,
    Thank you for the answer.
    Is there a better, cleaner way to go from Q2 to Q3 without having to manually change references.
    In program/telerik/tool/ i see "Project Update Utility". Can tell you tell me what  it is? Can it help me?
    Thanx
    Shirya
  4. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 27 Nov 2008 Link to this post

    Hello Shirya,

    The Project Update Utility updates the Telerik references of a single project. For more information about it, please refer to the following Knowledge Base Updating RadControls for WinForms to another version or license or to this video.

    Write me back, if you need additional assistance.

    Kind regards,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top