I am trying to export an grid using the Excel Exporter. The first time works just fine but after that I get the following error:
An export operation is currently in progress. A new export operation cannot begin until the current operation completes.
The title of the error is Infragistics4.Win.UltraWinGrid.ExcelExport.v11.2
This is only occurring at one particular customers site. I cannot reproduce in my office.
Does anyone have any ideas?
Well,
I narrowed the issue down. What is happening is the user is exporting to excel the first time. They are leaving Excel open with the default workbook name. When they try to export a 2nd time they get an error thrown from mscorlib that the file is in use which would be correct. At that point if they attempt to export again you will get the error thrown from the excel exporter that an operation is currently in progress. Even if you close all excel workbooks the excelexporter is in a state where it thinks it is still exporting.
Is there a way to reset the excelExporter?
Hi Roger,
This sounds like a bug in the exporter to me. My first recommendation is that you try getting the latest service release. The issue is most likely already fixed.
How to get the latest service release - Infragistics Community
Hello Roger,
Could you please try with the 'ExportAsync()' method instead and let me know of the result?