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 Oct 01, 2012 11:10 am

Team,

I am getting the following error while loading a excel file. please find the screen shot.

Thanks in advance
Divya
Attachments
error_Excel.JPG
Error Description
error_Excel.JPG (75.93 KiB) Viewed 10426 times

DivyaRekhaKona
 
Posts: 5
Joined: Wed Aug 01, 2012 7:09 am

Mon Oct 01, 2012 12:21 pm

Hi Divya,

Sorry for this inconvenience caused by us. Would you please do us a favor, send us your xlsx file to help us reproduce your problem.
Thanks
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Mon Oct 01, 2012 12:56 pm

Hi,
I have uploaded the file which I am trying to convert to PDF

DivyaRekhaKona
 
Posts: 5
Joined: Wed Aug 01, 2012 7:09 am

Tue Oct 02, 2012 4:43 am

Dear Divya,

We can't find the xlsx file which you have uploaded, please check, could you upload the file again? Thanks.

Thanks and best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri Oct 05, 2012 10:35 am

I am getti ng following error while uploading the xlsx file
Attachments
Upload Error.JPG
Upload Error.JPG (95.54 KiB) Viewed 10404 times

DivyaRekhaKona
 
Posts: 5
Joined: Wed Aug 01, 2012 7:09 am

Mon Oct 08, 2012 3:10 am

Zip the file then resend bro.

pocketme
 
Posts: 5
Joined: Thu May 10, 2012 2:46 am

Mon Oct 08, 2012 9:55 am

attached file
Attachments
New Folder.zip
(9.04 KiB) Downloaded 928 times

DivyaRekhaKona
 
Posts: 5
Joined: Wed Aug 01, 2012 7:09 am

Mon Oct 08, 2012 1:39 pm

Dear Divya,

Please change your excel file name suffix for.xlsx in your code because your original excel file is .xlsx file, and then it will work fine.
If you have any problem, please feel free to contact us.

Best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri Oct 12, 2012 7:09 am

Changed the extension but its still throwing the same error

DivyaRekhaKona
 
Posts: 5
Joined: Wed Aug 01, 2012 7:09 am

Fri Oct 12, 2012 9:28 am

Dear Divya,

We still don't reproduce your problem, we use spire.Xls.dll(v6.8.5.7040), spire.Pdf(v2.5.15.7040), spire.License.dll(v1.2.2.40),spire.Common.dll(v1.2.3.7040) for .net4.0 in spire.xls_6.8.5 to do the test, also please make sure the xlsx file in the path C:\\PDFDocuments\\InstitutionalFolders_testing_xlsx.xlsx.

Best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Wed Nov 21, 2012 3:23 pm

i got the same error with an .xml file saved in office 2010. if i try to open the file with Spire.XLS 6.9.3 "LoadFromFile" it throws this same exception. could you please streamline the load methods and incorporate the ".LoadFromXml" into the .LoadFromFile method. it is really inconvenient to distinguish an .xml from any other format each time i want to open a file via spire.

waldomirmarkgraf
 
Posts: 15
Joined: Mon Dec 06, 2010 12:14 pm

Thu Nov 22, 2012 9:19 am

Hi,

Thanks for your inquiry.
Did you mean that you use LoadFromXml method to load an .xml file is ok? If you didn't, could you please send your xml file to us? So that we can reproduce your problem, and quickly work out a solution for you. Also we can consider to incorporate the .LoadFromXml into the .LoadFromFile method in the futrue. Thank you!

Best regards,
Amy
E-iceblue support
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri Nov 23, 2012 8:24 am

yes, i can load the .xml file via ".LoadFromXml" normally, without the exception. only ".LoadFromFile" throws the exception.

waldomirmarkgraf
 
Posts: 15
Joined: Mon Dec 06, 2010 12:14 pm

Fri Nov 23, 2012 9:36 am

Hi,

Thanks for your feedback.
We will consider your suggestion incorporating the .LoadFromXml into the .LoadFromFile method in the futrue. Once the featrue has been supported, we will inform you immediately.

Best regards,
Amy
E-iceblue support
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri Jun 28, 2013 2:45 pm

I get the same error when loading an XLSX file.

I even try loading it as a workbook but same error.

Attached is the file.

Thanks
JD

Update: I get this error on any file I try to open. Am I missing an assembly?

Here is a code snippet. I'm using a MemoryStream because my files will be in memory in the real application.

Update 2: If I specify that this is Excel2010 it works. Anyway around this as I won't know what version the documents will be?

Thanks again,
JD
Attachments
CodeSnippet.png
CodeSnippet.png (36.47 KiB) Viewed 7591 times
test.zip
Excel file that throws error.
(10.8 KiB) Downloaded 675 times

tecjda
 
Posts: 1
Joined: Thu Jun 27, 2013 9:58 pm

Return to Spire.XLS