Posted 14 September 2017, 6:46 pm EST
[activereports_archive]Hi,
While doing Excel export (office 2007 Format: xlsx) we are getting Exception. We checkeck with pdf format and we are not getting any error.
we are attaching a dummy report in RDF format Also we have included the Screen shot.When you export this file into XLSX format you will get following error.
Exception details:
System.ArgumentException: ‘.’, hexadecimal value 0x00, is an invalid character.
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at DocumentFormat.OpenXml.OpenXmlElement.WriteAttributesTo(XmlWriter xmlWriter)
at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)
at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)
at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)
at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)
at DocumentFormat.OpenXml.OpenXmlPartRootElement.WriteTo(XmlWriter xmlWriter)
at DocumentFormat.OpenXml.OpenXmlPartRootElement.SaveToPart(OpenXmlPart openXmlPart)
at DocumentFormat.OpenXml.OpenXmlPartRootElement.Save()
at DocumentFormat.OpenXml.Packaging.OpenXmlPackage.SavePartContents()
at DocumentFormat.OpenXml.Packaging.OpenXmlPackage.Dispose(Boolean disposing)
at DocumentFormat.OpenXml.Packaging.OpenXmlPackage.Dispose()
at #tLD.#GOw.#rjx(Stream outputStream)
at #tLD.#GOw.Export(Workbook workbook, Stream outputStream)
at GrapeCity.SpreadBuilder.Workbook.Save(Stream outputStream)
at GrapeCity.ActiveReports.Export.Excel.Section.XlsExport.Export(SectionDocument document, Stream outputStream, String pageRange)
at GrapeCity.ActiveReports.Viewer.Win.Internal.ViewerApi.Export(IDocumentExportEx filter, Stream stream, String pageRange)
at GrapeCity.ActiveReports.Viewer.Win.Viewer.Export(IDocumentExportEx filter, Stream stream)
at GrapeCity.ActiveReports.Win.Export.SectionExport.DoExport(ExportViewer viewer, String fileName)
at GrapeCity.ActiveReports.Win.Export.ExportForm.btnOK_Click(Object sender, EventArgs e)
Regards
sharad kumar
[/activereports_archive]
2014/08/Error-RDFFileWithScreenshot.zip