Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Error in Excel Export: "Record DataSize property returns different data length than real Data length is"
posted

We have been using ExcelExport in UltraWebGrid for several years now, and we never had any problems. Suddenly, on a special set of records, we get the following exception.

Has anyone seen this before? What does it mean?

----------

System.Exception: Internal: Record DataSize property returns different data length than real Data length is
at Infragistics.Excel.BIFFRecordset.Write(BinaryWriter bw)
at Infragistics.Excel.BIFF8Writer.WriteWorkbookToFile(Workbook workbook, String fileName)
at Infragistics.Excel.BIFF8Writer.WriteWorkbookToStream(Workbook workbook, Stream outStream)
at Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter.Export(UltraWebGrid grid, Worksheet worksheet, Int32 startRow, Int32 startColumn)
at Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter.Export(UltraWebGrid grid)
at eurosoft.WebUI.Pages.liste.liste_PreRender(Object sender, EventArgs e) in c:\\develop\\esinet\\eswebsales\\eswebui\\liste.aspx.cs:line 264
at System.Web.UI.Control.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain()

 

Parents Reply Children
No Data