Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while Reading getting an exception Found invalid data while decoding. #99

Closed
SantoshRautTR opened this issue Dec 7, 2022 · 4 comments

Comments

@SantoshRautTR
Copy link

SantoshRautTR commented Dec 7, 2022

Hi @MarkPflug ,
We are getting an exception(Found invalid data while decoding) while reading the attached excel sheet. if we open and save the same excel we are not getting the exception.
we are using Syslvan.Data.Excel version 0.3.2. Can you please check the attached excel and help on resolving the issue.

@MarkPflug
Copy link
Owner

Fixed with version 0.4.3, just pushed to nuget.

@MarkPflug
Copy link
Owner

@SantoshRautTR Do you happen to know what tool created that xlsx file? The structure of it looked a bit odd to me. Not anything that I'd consider broken, but definitely not something I'd expect Excel to create.

@SantoshRautTR
Copy link
Author

@MarkPflug we will try to find out the tool used for creating the .xlsx file.

@Mek7
Copy link

Mek7 commented Jun 28, 2023

We have the same problem with attached file.
1.1. Hours and expenses per customer 2023-06-28.xlsx
The XLSX file was generated by assembly Assembly Microsoft.ReportViewer.WebForms which is part of Microsoft.ReportingServices.ReportViewerControl.WebForms nuget package by Microsoft.
We are not using this nuget package in ASP.NET as a web forms component, but only call the method Report.Render("EXCELOPENXML"); of the Report class. It also has capabilities to export to DOCX and PDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants