Could not load file or assembly

8 posts, 0 answers
  1. FRANCISCO C P RODRIGUES
    FRANCISCO C P RODRIGUES avatar
    9 posts
    Member since:
    May 2010

    Posted 01 Oct 2011 Link to this post

    Hi,

    I installed the RadControls for WinForms (version: 2011.2 11.831 (Aug 31, 2011)) in my VS-2010 (Windows Vista). I upgraded the RadControls from version 2011.1 11.419. I installed the new version using the ".msi" file. After completing the the installation process, I upgrade my solution with the "Telerik | RadControls for Winforms| Upgrade Wizard" menu option and rebuild it.
    When I run the application I'm receiving the following exception:

    Exception Type:        System.IO.FileNotFoundException
    Exception Message:     Could not load file or assembly 'Telerik.WinControls.UI, Version=2011.2.11.712, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' or one of its dependencies. The system cannot find the file specified.

    Any suggestions?

    Thanks,

    Francisco
  2. Chavdar Dimitrov
    Admin
    Chavdar Dimitrov avatar
    104 posts

    Posted 03 Oct 2011 Link to this post

    Hello Francisco,

    Thank you for contacting us.

    From your post it seems that you have updated from 2011.1 11.419 to 2011.2 11.831, but for some reason the project is looking for version 2011.2.11.712. May be there was an incomplete update to 2011.2.11.712 before trying to update to the latest version.

    As quickest solution I would advise you to remove all the Telerik references and then run the convert wizard.

    I hope this helps. Please, do not hesitate to write us back if you need any further assistance.

    Kind regards,
    Chavdar,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andrey
    Andrey avatar
    1 posts
    Member since:
    Jan 2012

    Posted 17 Jan 2012 Link to this post

    Hi!

    "As quickest solution I would advise you to remove all the Telerik references and then run the convert wizard."

    How to do it?


    I have such problem:


    Test method SFT.SystemCases.SystemTabSystemUserCreation threw exception:
    System.TypeInitializationException: The type initializer for 'ArtOfTest.Common.TraceInfo' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.TestingFramework.Interop, Version=2011.2.928.0, Culture=neutral, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    TestCleanup method SFT.SystemCases.MyTestCleanup threw exception. System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'ArtOfTest.Common.TraceInfo' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.TestingFramework.Interop, Version=2011.2.928.0, Culture=neutral, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    .
  5. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 18 Jan 2012 Link to this post

    Hello Andrey,

    It seems that the required Telerik DLLs are not presented on the machine. Please make sure that the machine where you are running your tests has at least the Telerik Testing Framework installed. This is required even if you built the test on a different machine and now you're just trying to run the DLLs with a runner on this one.

    Regards,
    Plamen
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

  6. Roxana
    Roxana avatar
    7 posts
    Member since:
    Mar 2013

    Posted 14 May 2013 Link to this post

    Hello!

    If I understand this correctly... the clients that want to use the application developed with Telerik win forms components are forced to have Telerik RadControls for WinForms installed on their computers??? Or " at least Telerik Testing Framework"
    This doesn't sound really good to me.

    For example I've used Telerik WPF RadControls and this problem never occurred.... My applications would run on any client.

    Is there any work around?

    Roxana
  7. Roxana
    Roxana avatar
    7 posts
    Member since:
    Mar 2013

    Posted 14 May 2013 Link to this post

    If there is none  -I'm afraid I'll just have to drop using Telerik's components
  8. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 15 May 2013 Link to this post

    Hi Roxana,

    No, clients that want to use application created with RadControls for WinForms does not need either of the suits installed. If you want to deploy an app created with RadControls for WinForms to your end users, please refer to the following article, which describes the permitted ways to do that: http://www.telerik.com/help/winforms/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows.html.

    I hope this helps.
     
    All the best,
    Stefan
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  9. Roxana
    Roxana avatar
    7 posts
    Member since:
    Mar 2013

    Posted 15 May 2013 Link to this post

    Thank you Stefan!
Back to Top
UI for WinForms is Visual Studio 2017 Ready