Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
106
Excel Export crashes to COM exception with Office 365
posted

We are using 14.1 version of your Silverlight libraries and have now discovered a problem with all of our Excel Exports. We have not touched the export code in a while and thus suspect it might have something to do with our recent Office 365 installations. Can this be the case? 

The stacktrace is:

Error HRESULT E_FAIL has been returned from a call to a COM component. (Exception) 
    at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   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_ActualWidth()
   at Infragistics.Documents.Excel.TextBlockTextMetricsProvider.MeasureTextBlock(TextBlock textBlock)
   at Infragistics.Documents.Excel.TextBlockTextMetricsProvider.<>c__DisplayClass2.<GetDefaultRowHeight>b__1()
   at Infragistics.Documents.Excel.Utilities.<>c__DisplayClass1.<ExecuteWithDispatcher>b__0(Object notUsed)
   at Infragistics.Documents.Excel.Utilities.ExecuteWithDispatcher(Action`1 action, Object parameter)
   at Infragistics.Documents.Excel.Utilities.ExecuteWithDispatcher(Action action)
   at Infragistics.Documents.Excel.TextBlockTextMetricsProvider.GetDefaultRowHeight(WorksheetCellFormatData format)
   at Infragistics.Documents.Excel.Worksheet.get_MeasuredRowHeight()
   at Infragistics.Documents.Excel.WorksheetRow..ctor(Worksheet worksheet, Int32 index)
   at Infragistics.Documents.Excel.WorksheetRowCollection.CreateValue(Int32 index)
   at Infragistics.Documents.Excel.WorksheetItemCollection`1.Infragistics.Documents.Excel.ILoadOnDemandTreeOwner<T>.CreateValue(Int32 index)
   at Infragistics.Documents.Excel.LoadOnDemandTree`1.GetValue(Int32 index, Boolean createdIfNotFound, FindState& state)
   at Infragistics.Documents.Excel.WorksheetItemCollection`1.InternalIndexer(Int32 index)
   at our own code...
Is it so that our version of IG components do require earlier version of Office to be installed or they don't support O365 yet? Is there even a dependency to the client installation of Office? 
What else could explain this?