You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another strange problem, running package.Workbook gives an error, but opening it on Excel shows no error at all
even use the newest develop version return error
System.ArgumentException
HResult=0x80070057
Message=已添加了具有相同键的项。
Source=mscorlib
StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection.ReadXml(Stream stream) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection.LoadPart(ExcelWorkbook wb) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection..ctor(ExcelWorkbook wb) at OfficeOpenXml.RichData.ExcelRichData..ctor(ExcelWorkbook wb) at OfficeOpenXml.ExcelWorksheet.GetErrorFromMetaData(MetaDataReference md, Object v) at OfficeOpenXml.ExcelWorksheet.SetValueFromXml(XmlReader xr, String type, Int32 styleID, Int32 row, Int32 col) at OfficeOpenXml.ExcelWorksheet.LoadCells(XmlReader xr) at OfficeOpenXml.ExcelWorksheet.CreateXml() at OfficeOpenXml.ExcelWorksheet..ctor(XmlNamespaceManager ns, ExcelPackage excelPackage, String relID, Uri uriWorksheet, String sheetName, Int32 sheetID, Int32 positionID, Nullable1 hide)
at OfficeOpenXml.ExcelWorksheets..ctor(ExcelPackage pck, XmlNamespaceManager nsm, XmlNode topNode)
at OfficeOpenXml.ExcelWorkbook.get_Worksheets()
at OfficeOpenXml.ExcelWorkbook.GetDefinedNames()
at OfficeOpenXml.ExcelPackage.get_Workbook()
at ConsoleApp2.Program.Main(String[] args) in Program.cs:line 49
EPPlus usage
Noncommercial use
Environment
Windows
Epplus version
7.4.1.1067
Spreadsheet application
Excel365
Description
Another strange problem, running package.Workbook gives an error, but opening it on Excel shows no error at all
even use the newest develop version return error
System.ArgumentException
HResult=0x80070057
Message=已添加了具有相同键的项。
Source=mscorlib
StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary
2.Insert(TKey key, TValue value, Boolean add) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection.ReadXml(Stream stream) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection.LoadPart(ExcelWorkbook wb) at OfficeOpenXml.RichData.ExcelRichValueStructureCollection..ctor(ExcelWorkbook wb) at OfficeOpenXml.RichData.ExcelRichData..ctor(ExcelWorkbook wb) at OfficeOpenXml.ExcelWorksheet.GetErrorFromMetaData(MetaDataReference md, Object v) at OfficeOpenXml.ExcelWorksheet.SetValueFromXml(XmlReader xr, String type, Int32 styleID, Int32 row, Int32 col) at OfficeOpenXml.ExcelWorksheet.LoadCells(XmlReader xr) at OfficeOpenXml.ExcelWorksheet.CreateXml() at OfficeOpenXml.ExcelWorksheet..ctor(XmlNamespaceManager ns, ExcelPackage excelPackage, String relID, Uri uriWorksheet, String sheetName, Int32 sheetID, Int32 positionID, Nullable
1 hide)at OfficeOpenXml.ExcelWorksheets..ctor(ExcelPackage pck, XmlNamespaceManager nsm, XmlNode topNode)
at OfficeOpenXml.ExcelWorkbook.get_Worksheets()
at OfficeOpenXml.ExcelWorkbook.GetDefinedNames()
at OfficeOpenXml.ExcelPackage.get_Workbook()
at ConsoleApp2.Program.Main(String[] args) in Program.cs:line 49
packageworkbookerror.xlsx
The text was updated successfully, but these errors were encountered: