I’m trying to save a simple “hello world” workbook to an HttpResponse, but always get an exception.
My code is:
Dim wb As New Workbook()all in a button click event handler.
Dim sheet As Worksheet = wb.Worksheets(0)
Dim cell As Cell = sheet.Cells(“A1”)
wb.Save(“Test.xls”, FileFormatType.Default, SaveType.OpenInBrowser,
but this gives the exception:
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.This is using the evaluation version of Aspose.cells v126.96.36.199 for .NET 2.0.
Details: Error parsing near ‘’"
What am I doing wrong?