In our older version if the file is already opened we get an exception "Syncfusion.XlsIO.Implementation.Exceptions.LockShareViolationException".You can catch the exception by using
In version v188.8.131.52:
"In our latest version", we use file streams to read and write files and hence "IOException" has been thrown with the message "The process cannot access the file "fileName.xls" because it is being used by another process". There is no specific exception in our library to handle this. You can also open the file as read only when the file is already opened by using OpenReadOnly method as below:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.