This is a migrated thread and some comments may be shown as answers.

Themes error since installation of Q3

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shirya
Top achievements
Rank 1
Shirya asked on 20 Nov 2008, 06:32 PM
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


3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 24 Nov 2008, 03:52 PM
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.
0
Shirya
Top achievements
Rank 1
answered on 24 Nov 2008, 07:10 PM
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
0
Nikolay
Telerik team
answered on 27 Nov 2008, 03:56 PM
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.
Tags
General Discussions
Asked by
Shirya
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Shirya
Top achievements
Rank 1
Share this question
or