Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Thu Apr 20, 2017 11:56 am

LoadFromFile throw exception with message "Value cannot be null. Parameter name: item" when try open xlsx file without "docProps" folder in xlsx container.
This xlsx-file generated by another program and normally open in Microsoft Excel.

Vladimir.

vtrunov@mggt.ru
 
Posts: 2
Joined: Mon Sep 12, 2016 8:35 am

Fri Apr 21, 2017 1:41 am

Dear Vladimir,

Thanks for your inquiry.
Please provide us with a sample file which has the issue for testing.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2938
Joined: Tue Sep 06, 2016 8:30 am

Fri Apr 21, 2017 8:21 am

It seems I encountered the same problem when I tried to open a file generated by the Open XML Format SDK 2.0 library. Also I get the error "Value can not be null" when I do LoadFromFile. The sample file is attached. I used the version 7.11.59.7040 Spire.XLS

Note: if you open a file in Microsoft Office Excel after it is generated through the Open XML Format SDK and close, errors on LoadFromFile do not occur. Perhaps it's just in the absence of docProps, and after the file opens in Excel, they are written and after that everything is fine. That is, in order to get this error, you must immediately try to make LoadFromFile without opening it in Microsoft Office Excel (and possibly in other editors).
Attachments
Sample.rar
(1.87 KiB) Downloaded 166 times

freez1992
 
Posts: 2
Joined: Wed Nov 25, 2015 3:46 am

Fri Apr 21, 2017 8:42 am

Dear freez1992,

Thanks for your detailed information.
I have reproduced the issue and posted it to our Dev team. We will inform you when it is fixed.
Sorry for inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2938
Joined: Tue Sep 06, 2016 8:30 am

Fri Apr 21, 2017 10:10 am

Hello Betsy!
This is sample file.
Thank you!
Attachments
test.zip
(4.97 KiB) Downloaded 170 times

vtrunov@mggt.ru
 
Posts: 2
Joined: Mon Sep 12, 2016 8:35 am

Mon Apr 24, 2017 3:24 am

Hello Vladimir,

Thanks for sharing your file.
I have reproduced the issue and referred it to our Dev team. We will inform you once there's any progress.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Sat Sep 30, 2017 6:02 am

Hello Vladimir,

The newest hotfix of Spire.Office(2.16.18) is published, you could download it from the following link.
https://www.e-iceblue.com/Download/down ... t-now.html

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Nov 01, 2018 8:07 am

I got this problem in Version 8.10.2.6040. I changed theme color by interop before used Spire.XLS. Any suggestions? Thanks.

dark1916
 
Posts: 1
Joined: Mon Sep 03, 2018 3:09 am

Thu Nov 01, 2018 8:22 am

Hi,

Thanks for your inquiry.
To help us investigate further, please upload your input file here or send it to us(support@e-iceblue.com) via Email.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2938
Joined: Tue Sep 06, 2016 8:30 am

Tue Nov 06, 2018 6:12 am

Hi dark1916,

Greetings from E-iceblue.
Has your issue been resolved? If not, please provide your input file for testing.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2938
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.XLS