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

AG_E_UNKNOWN_ERROR on RadGridView

6 Answers 175 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Frank Filippis
Top achievements
Rank 1
Frank Filippis asked on 12 Mar 2009, 07:49 PM
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

6 Answers, 1 is accepted

Sort by
0
Hristo Deshev
Telerik team
answered on 18 Mar 2009, 12:45 PM
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.
0
Kingsley Magnus-Eweka
Top achievements
Rank 1
answered on 11 Aug 2009, 01:48 PM
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  ?
0
Vlad
Telerik team
answered on 11 Aug 2009, 01:51 PM
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.
0
Kingsley Magnus-Eweka
Top achievements
Rank 1
answered on 11 Aug 2009, 02:09 PM
Hi Vlad,
this is using silverlight 2
kind regards
Kingsley
0
Kingsley Magnus-Eweka
Top achievements
Rank 1
answered on 11 Aug 2009, 03:05 PM
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!?
0
Vlad
Telerik team
answered on 12 Aug 2009, 05:18 AM
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.
Tags
General Discussions
Asked by
Frank Filippis
Top achievements
Rank 1
Answers by
Hristo Deshev
Telerik team
Kingsley Magnus-Eweka
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or