Unable to view Excel file in WebViewer

WebViewer Version: 8.4.1

Do you have an issue with a specific file(s)?: yes, only with Excel file: 1600 Vine - Income & Expenses - January 2023 file
Can you reproduce using one of our samples or online demos?: yes
Are you using the WebViewer server?: No
Does the issue only happen on certain browsers?: No, tried with Chrome and Mozilla
Is your issue related to a front-end framework?: No
Is your issue related to annotations?: No

Please give a brief summary of your issue:

Unable to preview Excel file: 1600 Vine - Income & Expenses - January 2023 file using PDFTron webviewer, and preview working fine with other Excel files

Please describe your issue and provide steps to reproduce it:

When attempting to preview an Excel file: 1600 Vine - Income & Expenses - January 2023 file with pdfTron WebViewer, the loading process takes a significant amount of time and ultimately disappears. Additionally, warnings are displayed in the console indicating that the server is not configured to serve .gz and .br files with the expected Content-Encoding, potentially resulting in degraded performance.

When we’re trying to open the same file in PDFTron online demo site we’re getting ‘Exception during conversion: std::bad_alloc’ error

Hi Sanjay.dandekar,

Thank you for contacting us regarding Webviewer.

To further investigate the issue, could you send us the sample file? You could send the file to jkung@apryse.com.

Hi Johnny - I did share the file over email. However, I think I figured out the problem. The way excel is formatted - it is treating blank cells also as content so the excel seems to have ~7500 pages. Hence it is failing to render.

Also one more question - the excel has grouped rows and the viewer does not show all the rows. It only shows the exact state in which the file was saved. If some groups were expanded when it was last viewed then those cells are visible. There is no indication on the viewer that some content is hidden. Is this the expected behavior?

Hi Sanjay,

Thank you for providing the information.

However, I wasn’t able to download the file in my mailbox for some reason.

Do you mind if you could provide the file again? or if you could share me with a link to download the file? thank you.

Hi Johnny,

any updates on this case?
Same error for some of my excel files.

Hello @robin.t ,

Thank you for posting on our forum,

Are you experiencing the initial issue where the file could not load and throws a badalloc error, or the issue where the excel file does not show all the rows? Please send screenshots.

You can share the file with my email, jacob.carlsen@apryse.com , and we can investigate this issue further. Let me know when you’ve done this.

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.

1 Like

Hi Jacob,

i created a support case for this.

Best regards,
Robin

Hello @robin.t,

If I understand correctly, you raised a ticket on our Support Portal regarding this issue? Let me know if I misunderstood your response.

If I did misunderstand your response, feel free to provide the information previously requested and we can investigate further. Otherwise, we can continue our investigation in the ticket in our Support Portal.

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.

1 Like