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.

Sat Oct 14, 2023 4:07 pm

1) Public file ht tp host.kelley.iu.edu/albrightbooks/Downloads/Excel%20Tutorial%20for%20Windows.xlsx

2) Exception: Requested value 'inEnd' was not found.

3) SaveToStream as PDF

Windows 10, 64-bit, Spire.Office trial.

rararara
 
Posts: 6
Joined: Sat Oct 14, 2023 3:59 pm

Mon Oct 16, 2023 1:47 am

Hi,

Thank you for your feedback.

We have conducted tests with the latest version of Spire.Office, version 8.9.3. We used the following code to replicate the issue you have encountered, but were unable to reproduce the problem:
Code: Select all
Workbook wb = new Workbook();
wb.LoadFromFile(@"Excel Tutorial for Windows.xlsx");
MemoryStream ms = new MemoryStream();
wb.SaveToStream(ms, Spire.Xls.FileFormat.PDF);


Could you please confirm if you are using the latest version of our product? If not, we suggest updating to the latest version and running your tests again to see if the issue persists.

If you are still experiencing difficulties after updating to the latest version, please provide us with more information about the issue so that we can further assist you. Thank you for your cooperation.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Oct 18, 2023 6:43 am

Hello Triste,

I am using the latest Spire.Office nuget package. It is throwing an exception on the internal "sheet35.xml" file. It doesn't matter how I load the file.

The stack trace:
" at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)\r\n at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)\r\n at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)\r\n at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)\r\n at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)\r\n at spr겗.䛱(XmlTextReader A_0, Int32& A_1)\r\n at spr겗.䠖(XmlTextReader A_0, Int32& A_1)\r\n at spr겗.䠖(XmlTextReader A_0)\r\n at spr겗.䤻(XmlTextReader A_0)\r\n at spr겗.䩠(XmlTextReader A_0)\r\n at spr겗.ᯙ(XmlTextReader A_0)\r\n at spr뷂.䛱(spr䘂 A_0, Boolean A_1)\r\n at spr뷂.䠖(XmlElement A_0, spr䘂 A_1, Boolean A_2)\r\n at spr뷂.䛱(XmlElement A_0, spr䘂 A_1, Int32 A_2, Boolean A_3)\r\n at spr뷂.䛱()\r\n at spr퀒.䛱(spr䡌 A_0)\r\n at spr퀒.䠖(spr䡌 A_0, String A_1, Boolean A_2)\r\n at spr퀒.䩠(spr䡌 A_0, String A_1)\r\n at spr퀒.䮅()\r\n at spr퀒.曽()\r\n at spr컭.䛱(spr᷺ A_0)\r\n at spr᷺.䛱(Stream A_0, spr滐 A_1, Boolean A_2)\r\n at spr᷺.䛱(String A_0, spr滐 A_1)\r\n at spr᷺..ctor(String A_0, spr滐 A_1)\r\n at Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(Object A_0, String A_1, ExcelVersion A_2)"

rararara
 
Posts: 6
Joined: Sat Oct 14, 2023 3:59 pm

Wed Oct 18, 2023 8:09 am

Hi,

Thanks for your feedback.
Could you please share us with the following information to help us investigate further? You can send them to us via email ([email protected]) or attach them here. Thanks for your assistance.
1) Application type. Such as Console App (.NET Framework4.8)
2) Test environment, such as Windows 10 64bit and region settings.
3) Full code.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Sat Oct 21, 2023 12:41 pm

Please find a repro here: github.com / SharePointRadi/Spire.Test

rararara
 
Posts: 6
Joined: Sat Oct 14, 2023 3:59 pm

Mon Oct 23, 2023 1:40 am

Hi,

Thanks for your sharing.
I have reproduced the issue you mentioned and logged it into our issue tracking system with the ticket number SPIREXLS-4944, our dev team will investigate and fix it, we apologize for any inconvenience caused. Once the issue is fixed, I will inform you asap.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Mon Oct 23, 2023 8:25 am

Thank you.

rararara
 
Posts: 6
Joined: Sat Oct 14, 2023 3:59 pm

Tue Oct 24, 2023 1:51 am

Hi,

Thank you for your reply.
Once the issue is fixed, I will inform you asap. We apologize for any inconvenience caused.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Oct 31, 2023 9:24 am

Hi,

Thanks for your patience.
Glad to inform you that the issue SPIREXLS-4944 was solved in the newly released Spire.Office 8.10.2 hotfix. Please download from our website and have a test.
Website:https://www.e-iceblue.com/Download/download-office-for-net-now.html

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.XLS

cron