AG_E_UNKNOWN_ERROR on RadGridView

7 posts, 0 answers
  1. Frank Filippis
    Frank  Filippis avatar
    5 posts
    Member since:
    Jun 2005

    Posted 12 Mar 2009 Link to this post

    Hi,
    I am just trying out the new silverlight controls. I manually added the silverlight controls to the toolbox. When i drag any of the controls over to the XAML code i get an A_E_UNKNOWN_ERROR on the end tag.

    I am running Vista 64 bit, maybe 64 bit has something to do with it?

    Thanks in Advance.

    Frank
  2. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 18 Mar 2009 Link to this post

    Hi Frank Filippis,

    I have been testing the problem on both 32-bit and 64-bit machines and here's what I found:
    • On 32-bit Vista machines you can't drop a control from the toolbox at all -- you get an "Invalid FORMATETC" error message.
    • On 64-bit Vista you can drop the control, and it works, but you get a squiggly line below your closing tag and a tooltip that says AG_E_UNKNOWN_ERROR.
    I removed the toolbox tab and added the controls to the toolbox myself. Both problems disappeared. My bet is that this is a problem with the Silverlight support in the current version of VS2008. There is no documented way to add controls to the SL toolbox, and our installer tries to add the controls in a manner similar to the way prescribed for WPF, WinForms, ASP.NET, etc. That undocumented way to add controls to the toolbox seems to have its issues like the two listed above.

    We are currently looking for ways to work around the problems. If we do not find a proper way to register controls with the toolbox we may be disabling automatic registration entirely. It may be better to require customers to add controls to the toolbox by hand than require them to deal with cryptic error messages.

    For now, just remove the toolbox tab generated by the RadControls for Silverlight installer and add the controls to the toolbox yourself. Make sure you restart Visual Studio, as it sometimes caches toolbox items and assembly references.

    Kind regards,
    Hristo Deshev
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Kingsley Magnus-Eweka
    Kingsley Magnus-Eweka avatar
    54 posts
    Member since:
    Aug 2009

    Posted 11 Aug 2009 Link to this post

    Hi I have also downloaded and installed the new telerik silverlight controls but i cant also seem to add it to my toolbox in visual studio 2008 when i try to do this i get a visual studio Message box error saying it cannot find the control reference dlls which i i can see directly in windows explorer i am running windows vista 64 bit machine, visual studio 2008 team system edition.
    I had not problems installing its cousins the telerik controls for aspnet ajax controls worked like a charm! is there something i am missing  ?
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Aug 2009 Link to this post

    Hello,

    Is this Silverlight 2 or Silverlight 3? For Silverlight 3 RTW compatible dlls please check here.

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Kingsley Magnus-Eweka
    Kingsley Magnus-Eweka avatar
    54 posts
    Member since:
    Aug 2009

    Posted 11 Aug 2009 Link to this post

    Hi Vlad,
    this is using silverlight 2
    kind regards
    Kingsley
  6. Kingsley Magnus-Eweka
    Kingsley Magnus-Eweka avatar
    54 posts
    Member since:
    Aug 2009

    Posted 11 Aug 2009 Link to this post

    Hi all,
    this is getting really really annoying now, i have uninstalled the Telerik Silverlight 2 tools and then re-installed it, still i cannot add the controls to my toolbox manually or automatically hasn't anyone encountered this issue before when trying to add telerik silverlight controls to visual studio 2008 tool box ? i have followed the paper in the telrik knowledge base on how to install int manually which doeas not work as there is little difference from the instruction and the documentation of the adding the controls to viusual studio toolbox except for the begingin where it mentions that you should have a silverlight appicatioin before creating a tab and then selecting "choose items" from the Silverlight component tab...which i do but all i get is a stupid

    visual studio message box error saying :

    could not load file or assembly 'system.windows version =2.0.5.0; culture neutral, public key token=7cec85d7bea7798e' or one of its dependecies.the system could not find the specified file.

    can anyone please help!?
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Aug 2009 Link to this post

    Hello Kingsley,

    Do you have such dll in your system? Can you send us small project where this issue can be reproduced at your side? We will try the same locally to see what will be the result.

    Sincerely yours,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top