error hresult e_fail has been returned from a call to a com component

2478
3
02-04-2011 11:55 AM
kontikonti
New Contributor
Hi all,
I am new to Silverlight API so I was just trying to drag and drop some of the controls from the toolbox. When I drag and drop Map control, scalebar etc., there is no problem but when I try to drag and drop the other controls like Navigation, I get the above error. What can be the reason?

Thanks,
Konti
0 Kudos
3 Replies
AliMirzabeigi
New Contributor
This is a known issue in 2.1 and has been fixed for the 2.2 version of the API. For now please add a reference to System.Windows.Controls.Data.Input DLL in your project prior to drag-dropping any of the Toolkit controls in your Visual Studio design view.
0 Kudos
dotMorten_esri
Esri Notable Contributor
Technically this is a bug in the designer and not the API 🙂 We found a workaround to make the designer work, which will be included in v2.2.
0 Kudos
kontikonti
New Contributor
Thanks a lot for your help guys...
0 Kudos