-
Notifications
You must be signed in to change notification settings - Fork 295
Description
EPPlus usage
Commercial use (I have a commercial license)
Environment
Windows 11
Epplus version
7.0.8
Spreadsheet application
Excel
Description
When opening the provided workbook it throws the below exception. Simply opening the workbook in Excel and saving makes the issue go away. Will provide the file via support ticket.
System.IO.InvalidDataException
HResult=0x80131501
Message=The file is not a valid Package file. If the file is encrypted, please supply the password in the constructor.
Source=EPPlus
StackTrace:
at OfficeOpenXml.Packaging.ZipPackage..ctor(Stream stream)
at OfficeOpenXml.ExcelPackage.Load(Stream input, Stream output, String Password)
at OfficeOpenXml.ExcelPackage.Load(Stream input)
at OfficeOpenXml.ExcelPackage..ctor(Stream newStream)
at nb.Office.Excel.UnitTest.ExcelTestL0.Test_ReadExcelRangeNoDataRows3() in C:\source\CoreLibs2\CoreLibs\nb.Office.Excel.UnitTest\ExcelTestL0.cs:line 981
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status