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

Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.

5 Answers 892 Views
Window
This is a migrated thread and some comments may be shown as answers.
Francis
Top achievements
Rank 1
Francis asked on 19 Sep 2013, 05:34 AM
Hi,

I am currently using Visual Studio 2012 ultimate update 3 on Windows 8 pro 32 bit and telerik RadControls for silverlight 2013 Q1 SP1 and the RadWindow keeps giving the error  

Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.

at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
   at MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
   at System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)

Kindly let me know how to resolve this, I have uninstalled installed removed references added them back but I cant't seem to get a fix to this. Is there a solution to this?


Regards,

Francis.

5 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 23 Sep 2013, 10:59 AM
Hi,

We are not sure what exactly is the cause of such issues.

Could you try to following:
  • Clean the project and rebuild it.
  • Close the project go to its folder location and delete the bin and obj folders.
  • Make sure that the references assemblies in the project are located in the same location. To do so expand the References in the project and check each assemblies Path in the properties window.

If you still continue to experience issues, could you try to reproduce the issue in a sample project and send it to us in a support thread.


Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
John
Top achievements
Rank 1
answered on 05 Oct 2013, 01:42 PM
I have just had the same issue, and can confirm that deleting the bin and object folders cleared the problem for me.

Regards
John
0
Ron
Top achievements
Rank 1
answered on 04 Mar 2014, 10:29 AM
I can also confirm that deleting bin and obj directories also cleared up this error.
0
Sandeep
Top achievements
Rank 1
answered on 19 Dec 2014, 01:10 AM
I already tried all of the following:
1) Cleared ProjectTemplateCache and recreated it. Still having issue
2) Updated to VS2012 SP4 , Still having issue.
3) deleted bin and obj folders. Still having issue.

Then i checked all the telerik refrences. And one of the Telerik reference was coming from "C:\Program Files (x86)\Telerik\UI for Silverlight Q3 2014\Binaries\Silverlight\telerik.windows.controls.datavisualization.dll"

i changed it and copy to my local "lib" folder for the project and it solved the issue.

Hope this helps someone.
0
Polya
Telerik team
answered on 22 Dec 2014, 02:39 PM
Hi Sandeep,

We are glad to hear that the issue is resolved. It appears it was caused from the third suggestion my colleague Vladimir suggested:

Make sure that the references assemblies in the project are located in the same location. To do so expand the References in the project and check each assemblies Path in the properties window.

Regards,
Polya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Francis
Top achievements
Rank 1
Answers by
Vladi
Telerik team
John
Top achievements
Rank 1
Ron
Top achievements
Rank 1
Sandeep
Top achievements
Rank 1
Polya
Telerik team
Share this question
or