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

6 posts, 0 answers
  1. Francis
    Francis avatar
    15 posts
    Member since:
    Apr 2011

    Posted 19 Sep 2013 Link to this post

    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.

  2. Vladi
    Admin
    Vladi avatar
    749 posts

    Posted 23 Sep 2013 Link to this post

    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 >>
  3. John
    John avatar
    3 posts
    Member since:
    Dec 2012

    Posted 05 Oct 2013 Link to this post

    I have just had the same issue, and can confirm that deleting the bin and object folders cleared the problem for me.

    Regards
    John
  4. Ron
    Ron avatar
    1 posts
    Member since:
    Dec 2012

    Posted 04 Mar 2014 Link to this post

    I can also confirm that deleting bin and obj directories also cleared up this error.
  5. Sandeep
    Sandeep avatar
    1 posts
    Member since:
    Nov 2014

    Posted 18 Dec 2014 Link to this post

    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.
  6. Polya
    Admin
    Polya avatar
    217 posts

    Posted 22 Dec 2014 Link to this post

    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.

     
Back to Top