rappen / FetchXMLBuilder

FetchXML Builder for XrmToolBox and Microsoft Dynamics 365 / CRM
https://fetchxmlbuilder.com/
GNU General Public License v3.0
135 stars 56 forks source link

Exception when switching to the Excel tab #1068

Closed Paul-CONSOS closed 1 month ago

Paul-CONSOS commented 2 months ago

[Write any error info to resolve easier]


System.Runtime.InteropServices.COMException:
Unable to set the FreezePanes property of the Window class
FetchXML Builder
   bei System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   bei Microsoft.Office.Interop.Excel.Window.set_FreezePanes(Boolean )
   bei Rappen.XTB.FetchXmlBuilder.DockControls.ResultGrid.OpenInExcel()

rappen commented 2 months ago

Thanks for the report, @Paul-CONSOS Do you know if this occurs every time, now and then, or only once?

Paul-CONSOS commented 2 months ago

@rappen this occurs every time. The Excel file is generated, but the exception is still there image

rappen commented 2 months ago

It seems like something breaks before creating the sheet "FetchXML Builder - Source". Wonder why... Thanks for this info!