Argument out of range exception in DUCE library

I wrote a simple WPF application with SfSpreadsheet control and open various XLS/XLSX workbooks. From time to time I have a runtime "Argument out of range" exception which occurs in DUCE library. It looks like something tries to remove something not existent. I can't reproduce this error as it occurs rarely. Please help.


Attachment: Z01.Quest_8cb72cb8.xls

1 Reply

SB Sweatha Bharathi Syncfusion Team September 18, 2025 12:33 PM UTC

Hi Jaroslaw Kuchta,

We have reviewed your query. Based on the information you provided, we have prepared a simple sample to replicate your scenario by opening your provided Excel sheet (.xls and .xlsx files) using the OpenDialog window. However, we were unable to reproduce the exception you reported. As you mentioned that the error occurs rarely, we understand it may be intermittent and difficult to replicate consistently.

We have provided a sample for your reference. Kindly review the sample. To proceed further, please provide the following details:
  1. Could you please share the call stack trace of the reported exception?
  2. Could you please share the details about how you open the file in the spreadsheet? 
  3. Are you try to open the excel file (.xls and .xlsx) continuously?
  4. If possible, kindly modify the provided sample to replicate your scenario.

This information will help us to proceed further and provide an accurate solution.


Regards,
Sweatha B

Attachment: Sample_e27015e7.zip

Loader.
Up arrow icon