We randomly receive the following error. I'm not able to reproduce it consistently so I don't really know where to start troubleshooting this. I know this isn't much information to go on, but I'm hoping for a theory on where I can start looking. Version is 11.2.20112.1010
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.SetValue(IManagedPeerBase obj, DependencyProperty property, DependencyObject doh)at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)at System.Windows.Controls.Control.set_DefaultStyleKey(Object value)at System.Windows.Controls.ContentControl..ctor()at MS.Internal.CoreTypes.GetCoreWrapper(Int32 typeId)at MS.Internal.ManagedPeerTable.EnsureManagedPeer(IntPtr unmanagedPointer, Int32 typeIndex, Type type, Boolean preserveManagedObjectReference)at MS.Internal.XcpImports.ConvertDO(IntPtr doPointer, Int32 typeIndex, Boolean releaseObjectReference)at MS.Internal.XcpImports.ConvertType(CValue outVal, Int32 typeIndex, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)at MS.Internal.XcpImports.ConvertCValueForManagedWithType(Type propertyType, CValue& outVal, Int32 outDOType, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)at MS.Internal.XcpImports.GetValue(IManagedPeerBase managedPeer, DependencyProperty property)at System.Windows.DependencyObject.GetValueInternal(DependencyProperty dp)at System.Windows.FrameworkElement.GetValueInternal(DependencyProperty dp)at System.Windows.FrameworkElement.get_Parent()at Infragistics.Controls.Interactions.Utils.GetParents(FrameworkElement element)at Infragistics.Controls.Interactions.XamHtmlViewer.PanelLayoutUpdatedInternal()at Infragistics.Controls.Interactions.XamHtmlViewer.<InvokePanelLayoutUpdated>b__1()
Is this control in a Popup or some other container? Are you working off the main thread?
Looking over the GetParents method, nothing jumps out as something that would cause a COM exception.
I'm getting exactly the same error with 2012.1 (1016). The problem occurs when I close a tabbed window (TabControl) with a XamHtmlViewer on it.
Is there some progress on this issue?
Thanks,
Mike
Hello,
We have managed to isolate and reproduce this issue. I have logged this behavior with our developers in our tracking system with an issue ID of 120391 and it has been fixed. It will be available in the next public service release.
That's great!