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.
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.
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.
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.
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!
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.