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

2 posts, 0 answers
  1. Anan
    Anan avatar
    31 posts
    Member since:
    Oct 2009

    Posted 13 Jul 2010 Link to this post


    I have a combo box. When selection is changed , i show a confirmation box. I use radwindow for this. The combo box resides on page. In the page load, i populate the combo box making a service call. If the page has an item selected, i would set it. When i set it, it would fire selectionchanged and confirmation box. When the confirmation box appears, it blows up

    System.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)
       at System.Windows.PresentationFrameworkCollection`1.Insert(Int32 index, T value)
       at Telerik.Windows.Controls.HACKS.AttachPopupToVisualTree(Popup popup)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.OpenWindow(Popup popup, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, PopupType type, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, PopupType type)
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupSilverlightFactory.WindowPopupSilverlightImpl.Show()
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupSilverlightFactory.WindowPopupSilverlightImpl.OpenPopup()
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopup.Open(Boolean isModal)
       at Telerik.Windows.Controls.RadWindow.ShowWindow(Boolean modal)
       at Telerik.Windows.Controls.RadWindow.ShowDialog()
       at Telerik.Windows.Controls.RadWindow.ConfigureModal(RadAlert content, DialogParameters dialogParams)
       at Telerik.Windows.Controls.RadWindow.Confirm(DialogParameters dialogParameters)

    This happens only the first time the page is loaded. When i dont make service call to populate, it works fine.

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 14 Jul 2010 Link to this post

    Hello Anan,

    Thank you for contacting us.

    We are aware of this issue and we will do our best to provide a fix as soon as possible.
    Sorry for the inconvenience caused.

    If you have any other concerns about our controls please feel free to contact us again.

    Sincerely yours,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top