Exceptions in opening Word Document

Hi,
We are using Syncfusion DocIO AspNet MVC5 version 17.4.0.55.
When trying to open a Word document:
WordDocument document = new WordDocument(filepath);
We get an exception: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex
This occurs randomly.
How can we fix this?
Also, another exception we get when trying to embed an OLE object is: Destination array is not long enough to copy all the items in the collection. Check array index and length.
Regards,
Rohit

3 Replies

MR Manikandan Ravichandran Syncfusion Team May 21, 2020 05:08 AM UTC

Hi Rohit,

Thank you contacting Syncfusion support..

We unable to reproduce the mentioned issue at our end. Wwe suspect that the issue might be specific to Word document. So, kindly provide us the input document and stack trace of the issue to reproduce the mentioned issue, so that we can proceed further to analyse and update you with the appropriate details.

Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face.

Please let us know if you have any further questions.

Regards,
Manikandan Ravichandran



RJ Rohit J May 25, 2020 07:00 PM UTC

It seems the issue is no longer occurring.
Thank you for your support.


PN Preethi Nesakkan Gnanadurai Syncfusion Team May 26, 2020 09:18 AM UTC

Hi Rohit, 
  
Most welcome. 
  
Regards, 
Preethi 


Loader.
Up arrow icon