Can't find TypeConverter

9 posts, 0 answers
  1. Alexander
    Alexander avatar
    5 posts
    Member since:
    Mar 2008

    Posted 07 Apr 2008 Link to this post

    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


  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 08 Apr 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alexander
    Alexander avatar
    5 posts
    Member since:
    Mar 2008

    Posted 08 Apr 2008 Link to this post

    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
  5. Mike
    Admin
    Mike avatar
    640 posts

    Posted 09 Apr 2008 Link to this post

    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
  6. RAKESH KHATRI
    RAKESH KHATRI avatar
    7 posts
    Member since:
    Jun 2007

    Posted 07 Nov 2008 Link to this post

    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
  7. Alexander
    Alexander avatar
    5 posts
    Member since:
    Mar 2008

    Posted 07 Nov 2008 Link to this post

    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
  8. Mike
    Admin
    Mike avatar
    640 posts

    Posted 10 Nov 2008 Link to this post

    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.
  9. RAKESH KHATRI
    RAKESH KHATRI avatar
    7 posts
    Member since:
    Jun 2007

    Posted 10 Nov 2008 Link to this post

    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
  10. Nick
    Admin
    Nick avatar
    767 posts

    Posted 11 Nov 2008 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready