Struggling to get radControls in my toolbox

9 posts, 0 answers
  1. Mark Davies
    Mark Davies avatar
    4 posts
    Member since:
    Feb 2010

    Posted 28 Feb 2010 Link to this post

    Hi,

    I'm a developer in VS (ASP.Net) and was tasked to find better controls for our new silverlight POC project.

    I have spent hours on trying to get this to work in ASP.Net and I am just about to give up on this when I thought that I'll try the forums as a last resort.

    I downloaded and installed the trial version for silverlight and since I am using Silverlight 4 with VS 2010 Express Beta 2 (might just as well keep up with the latest version when doing a new project) I also downloaded RadControls for Silverlight4 2009 3 1314 TRIAL.

    In the documentation it indicates that the .dll's and associated files needs to be copied to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies, which I have done, but when I attempt to add the controls to my toolbox I keep on getting the error:
    ---------------------------
    Microsoft Visual Web Developer 2010 Express
    ---------------------------
    Could not load file or assembly 'file:///C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Telerik.Windows.Controls.Navigation.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    ---------------------------
    OK   
    ---------------------------

    I even tried to copy the files to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies and that still resulted in the same error.

    The funny thing, however, is that I also have Expressing Blend for .Net 4 and if I load the .dll here, they load fine and I can create an object here. When I save the project in EB and then attempt to open it in VS WD 2010 I get an error and the preview page doesn't open, the error shown is:

    Error    24    Unable to load the metadata for assembly 'Telerik.Windows.Controls.Navigation'. The following error was encountered during load: Could not load file or assembly 'Telerik.Windows.Controls.Navigation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    C:\Users\Mark Davies\Documents\Visual Studio 2010\Projects\BusApp1\BusApp1\Views\Data.xaml    1    1    BusApp1

    Any help would be greatly appreciated in resolving this issue.
  2. Mark Davies
    Mark Davies avatar
    4 posts
    Member since:
    Feb 2010

    Posted 28 Feb 2010 Link to this post

    Hi,

    Sorry guys - I figured out why it was giving me the error - sometimes one wishes for more direct error reporting in VS.

    Anyway, I needed to UNBLOCK the .dll files that I extracted from the .zip file for the silverlight 4 support.

  3. DevCraft banner
  4. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 20 Jun 2010 Link to this post

    HI. I am having the same problem. What did you mean by UNBLOCK the files??
  5. Mark Davies
    Mark Davies avatar
    4 posts
    Member since:
    Feb 2010

    Posted 20 Jun 2010 Link to this post

    Hi,

    To UNBLOCK the .dll files, you need to go to the location of the .dll files, select the file, go to its properties and then choose Advanced - there should be an Unblock button that you can selected. Do this for all .dll files you wish to use.

    Hope this helps.
  6. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 21 Jun 2010 Link to this post

    Sorry I don't see any Unblocking option. (I'm using Win 7)
    The dll's are here .

    C:\Program Files\Telerik\RadControls for WPF Q1 2010 SP2\Binaries\WPF

    the one I'm particularly after is the radgridview.dll

    When I try to add this dll I get the error. Weird because I can get the RADGridview inn Expression Blend 3 just fine.
     
    I have uninstalled/reinstalled VS2010 twice this week. Uninstalled/reinstalled all Telerik Suite trying to get this to work.

    I'm thinking I Imay have to reformat now. It's driving me nuts
     
  7. Mark Davies
    Mark Davies avatar
    4 posts
    Member since:
    Feb 2010

    Posted 21 Jun 2010 Link to this post

    I had the same problem with other controls. The release I got was still in beta and so was VS2010, so, I just eventually gave up on it after a while.

    I later had the same error with something completely different and found that I had to refresh the .dll in the GAC and that cleared up my issues. You might want to check that first.

    I am not an expert in VS, so, please don't take my work for this, I just googled my issue until I found something that worked - I was frustrated and was ready to re-install my OS when I tried that one last option and thankfully that sorted my issue out.
  8. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 21 Jun 2010 Link to this post

    Yeah I was thinking I would try the GAC util first and check those pulic key tokens.

    Good pointer.
  9. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 26 Jul 2010 Link to this post

    Possible Solution:
    Delete the hidden files: toolbox.tbd, toolbox_reset.tbd, toolboxIndex.tbd, toolboxIndex_reset.tbd from the folder "%USERPROFILE%\AppData\Microsoft\VisualStudio\10.0" while visual studio is closed.

  10. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 01 Dec 2010 Link to this post

    I deleted *.tbd in the following dir on Windows 7x64
    C:\Users\[Current user]\AppData\Local\Microsoft\VisualStudio\10.0
    The rest didn't work for me but that did...
    Thanks Will...
Back to Top
DevCraft banner