Welcome to the ASP.NET MVC feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET MVC, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
When updating a cell value on an existing .xlsx file and attempting to save, an XmlException is thrown with the following error message: System.Xml.XmlException: 'Data at the root level is invalid. Line 2, position 183.' The exception is not thrown when editing a simple xlsx file (no formatting/formulas present). I've attached an example .xlsx and Program.cs file for reproducing the issue.
This exception is only thrown on XlsIO versions 19.1.0.57 and higher. Running the same Program.cs on version 19.1.0.56 does not throw the XmlException and saves successfully.