Category / Section
I face different exceptions after upgraded XlsIO to the version 6.2 and later. Is there a solution available?
1 min read
From v6.2, we have made changes to the workbook engine disposal. As a result, different exceptions will be raised when running the application more than once or when the workbook is accessed. This can be solved by disposing of the engine after closing the workbook before accessing it again as follows:
C#
workbook.Close(); engine.Dispose();
VB
workbook.Close() engine.Dispose()