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

Can't find TypeConverter

8 Answers 262 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 07 Apr 2008, 10:02 AM
Hi,

I use the DockingManager in my project.
The line

   Me.DockingManager = New Telerik.WinControls.Docking.DockingManager

causes about 20 MessageBoxes to pop up saying "Can't find TypeConverter to string for animation step of type Telerik.WinControls.ColorAnimationStep"
After that everything seems to be working fine.
This happens only on machines where Telerik is not installed. Machines with RadControlsWinforms_Q3_2007 don't show any MessageBoxes.

I hope you can give me any advice,

Thanks,
Chris


8 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 08 Apr 2008, 07:31 AM
Hi Alexander,

Please make sure all Telerik assemblies bearing the same version are registered in the GAC or are located in the same folder as the application. Also, please make sure your project only references Telerik assemblies with the same version number.

Let us know if this does not help.

Sincerely yours,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alexander
Top achievements
Rank 1
answered on 08 Apr 2008, 08:41 AM
Hi,

thanks for the reply.

I checked all assemblies. They have the same version 5.0.0.0.
To make sure, I copied the files from the working machine to the other, replacing the old assemblies, but still the problem persists.

On the developing machine with Telerik installed everything is fine.
On the client machines without Telerik a lot of MessageBoxes show.  70 of them, if that helps ;)

Do you have more ideas ?

Thanks
0
Mike
Telerik team
answered on 09 Apr 2008, 07:24 AM
Hi Alexander,

Please open a support ticket, so you can send us the project file and any other related code you can share. This will allow us to help you sooner.

Greetings,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
RAKESH KHATRI
Top achievements
Rank 1
answered on 07 Nov 2008, 07:08 PM
Hi,

I am using telerik GridView control in my project and creating the control at run time.  It works fine on machine with Telerik installed but if I deploy the application on the client machine, I keep getting an error

'The TypeConverter - System.ComponentModel.TypeConverter cannot convert from string, animation step of type Telerik.WindControls.ColorAnimationStep'

Can you please tell me what I need to resolve this issue?

I also checked assembly to make sure the versioning are the same like you suggested to the other questioner.

Thanks
Susan
0
Alexander
Top achievements
Rank 1
answered on 07 Nov 2008, 07:24 PM
Hey Susan,

for some reason I was still getting notifications for this threads activity.

It's pretty simple if you know what to do, when deploying your Application on a Client Machine make sure there is no Telerik installed and to register your Telerik DLL's into the clients GAC.
The GAC registration is necessary, it is not enough to just have the dll files located in the same directory.
While both strategies seem to work at first glance only the GAC registration suppresses or avoids this annoying error entirely.

Regards Alex
0
Mike
Telerik team
answered on 10 Nov 2008, 10:35 AM
Hi guys,

Susan, please make sure you application refers the same version of all Telerik assemblies and all the assemblies are either installed in the GAC or in your application's bin folder. You can find more information on GAC installation here: Updating RadControls for WinForms to another version or license and Adding a control to the GAC (Global Assembly Cache) for WinForms

Thank you for the suggestion Alex, I just wanted to ensure all of you that both scenarios are supported.
 

Greetings,
Mike
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
RAKESH KHATRI
Top achievements
Rank 1
answered on 10 Nov 2008, 11:24 PM
Hi Mike,

I am developing a windows application, per your suggestion, does it mean that I have to make sure TelerikCommon.dll and Telerik.Wincontrols.dll are added in gac assemblies for every desktop that runs this application on?  If so, should there be a better way?

Thanks
Susan
0
Nick
Telerik team
answered on 11 Nov 2008, 05:10 PM
Hello RAKESH KHATRI,

Thank you for contacting us back.

No, you should set the Copy Local property of each assembly reference from its Properties window (from the Solution Explorer select a reference, then from its context menu click on Properties, and finally from the Properties window set Copy Local to true). Then you may deploy your application by copying the whole Release directory (x-copy deployment).

It is up to you to choose the best deployment option in your case. What Mike had in mind in the previous post is about development machines where having our assemblies in the GAC is very convenient when starting a new project. The problem is that sometimes the application may reference different versions for some of our assemblies from the GAC so the old versions better be deleted from there if you experience some odd exceptions.

Do not hesitate to write back if you have further questions.

Kind regards,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
Alexander
Top achievements
Rank 1
Answers by
Mike
Telerik team
Alexander
Top achievements
Rank 1
RAKESH KHATRI
Top achievements
Rank 1
Nick
Telerik team
Share this question
or