Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Aug 17, 2015 2:46 pm

Hi,

I'm running .NET framework 4/64 bit. When we try to open an Excel file that happens to be corrupted, the DLL throws a Null exception (see attached) and at least in one case crashed our web server even running in isolation mode. We are running the latest version of the library including the 2015 hot fix.

Please see the attached files for an example. Thank you,

-David
Attachments
corrupt excel 2013 file example.zip
corrupt excel file example
(42.86 KiB) Downloaded 544 times
Spire-null-runtime-exception.jpg
Spire-null-runtime-exception.jpg (105.77 KiB) Viewed 3501 times

deisner
 
Posts: 2
Joined: Wed Jul 15, 2015 6:54 pm

Mon Aug 17, 2015 3:53 pm

Hi am testing the SPire.XLS in a huge client and came across the error stated above and other more

The type initializer for 'Spire.Xls.Core.Spreadsheet.Shapes.XlsShapeFill' threw an exception.
A column named 'hiddencolumn' already belongs to this DataTable.
A column named 'current FTE' already belongs to this DataTable.
Unexpected token.Unexpected token type: tStringConstant
Zip exception.Can't locate end of central directory record. Possible wrong file format or archive is corrupt.
A column named '0' already belongs to this DataTable.
A column named '='Country workplan'!AS76' already belongs to this DataTable.

Any help will be appreciated.

Thanks

Rodrigo Pinto, SharePoint MVP

scoutptpt
 
Posts: 1
Joined: Mon Aug 17, 2015 3:49 pm

Tue Aug 18, 2015 1:27 am

Hello deisner,

Thanks for your inquiry.
I have noticed your issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for the inconvenience.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Aug 25, 2015 7:14 am

Hello deisner,

Sorry to keep you waiting.
The new version of Spire.Xls ( Spire.XLS Pack Hotfix Version:7.8.26 ) solved your issue has been released. Please download it via link below and have a try.
http://www.e-iceblue.com/Download/download-excel-for-net-now.html

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Fri Aug 28, 2015 8:30 am

Hello,

Have you tried the Spire.XLS Pack Hotfix Version:7.8.26?
Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Fri Aug 28, 2015 9:57 am

The fix seems to have worked. Thank you

deisner
 
Posts: 2
Joined: Wed Jul 15, 2015 6:54 pm

Mon Aug 31, 2015 1:28 am

Hello,

Please feel free to contact us, if you have any questions or needs. We are here for help.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.XLS