Export to Excel not working
Hi,
Since the latest upgarde to version 20232.1.24.7870, When exporting reports to Excel, nothing happens
I looked up the log and this is the report:
2023-03-13 12:12:12.9505,MYOB.Huxley.RF.Core.Services.AppService.RFLogService,Error,1, : System.InvalidCastException: Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Microsoft.Office.Interop.Excel.ApplicationClass.get_Workbooks()
at MYOB.Huxley.RF.Extension.Export.Excel.Formatter.CreateXls(String fileName)
This is too technical for me.
Any suggestion to resolve this issue?
Thank you