I’m using Aspose.Cells for .NET version 17.9.0.0. And I have an XLS file, please see attachment. The library fails to open it, although MS Excel 2016 (Windows) opens it up with no issues.
I’m getting following error message and stack-trace:
Invalid string in the file.
at .()
at .( )
at . ( )
at .(MemoryStream )
at .( )
at .( )
at Aspose.Cells.Workbook.(Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook…ctor(Stream stream)
at ExcelUtilities.ValidFileCustomProperties(Byte[] excelFile) in
C:\GIT\MyProject1\ExcelUtilities.cs:line 25
We were able to observe the exception while opening your provided XLS file. We have logged this issue in our database for further investigation and for a fix. Once, the issue is resolved or we have some other news for you, we will let you know asap.
This issue has been logged as
CELLSNET-46008 - Invalid string in the file - exception occurs on opening the XLS file
Why you could not try our latest version/fix: Aspose.Cells for .NET v18.3.3? Please note, Aspose.Cells for .NET v18.3 does not fix your issue but v18.3.3 fixes your issue, so kindly try it and let us know how it goes on your end.
Well, we publish official releases only on Nuget/maven repos., we do not publish fixes over there. We publish official release of the product once in a month. So, either you may use the fix for now or wait for our next official release of the product (Aspose.Cells for .NET v18.4 - it will include all previous fixes and other enhancements). Our next official release is due in the third or fourth week of April 2018.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.