We are seeing this also on Windows Vista and Windows 7. But not every machine, nor every report.
System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode' fallback 'System.Text.DecoderReplacementFallback'. Parameter name: chars
at System.Text.Encoding.ThrowCharsOverflow()
at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
at System.Text.UnicodeEncoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
at System.IO.BinaryReader.InternalReadOneChar()
at System.IO.BinaryReader.Read()
at System.IO.BinaryReader.ReadChar()
at #Rsc.#ab.#jHe(BinaryReader reader)
at #Rsc.#Usc.#jHe(BinaryReader reader)
at #4rc.#jsc..ctor(BinaryReader reader, EmfRecordType recordType, Int32 recordSize)
at #Psc.#Osc.#F2(BinaryReader reader, #8sc renderDevice, TextWriter tracer)
at #Psc.#Osc.#F2(Metafile metafile, Single width, Single height, #8sc renderDevice, TextWriter tracer)
at #mqc.#orc.#cxd(Metafile mf, Single x, Single y, Single width, Single height)
at #mqc.#orc.#Dib(Image image, Single x, Single y, Single width, Single height)
at DataDynamics.ActiveReports.Export.Pdf.PdfExport.#Isd(#jqc canvasItems, #orc pdfPage, PointF offset, Graphics graphics, #aqc outputContext)
at DataDynamics.ActiveReports.Export.Pdf.PdfExport.#Gsd(Page page, Graphics graphics, #aqc outputContext)
at DataDynamics.ActiveReports.Export.Pdf.PdfExport.Export(Document document, Stream stream, String pageRange)
at DataDynamics.ActiveReports.Export.Pdf.PdfExport.Export(Document document, Stream stream) This is NOT the same issue that was fixed after the .NET security
update. It's just the same call stack. We are running v5.2.1132.2. It only happens on reports with charts.
Rebooting (see the above work-around) seems to get reports generating again on a particular machine exhibiting the problem... at least temporarily. We are stuck only with this lame work-around in order to ship and support our product on Vista.
Would you guys please pull your head out of the sand and acknowledge you have a problem, instead of just telling us that you fixed it and we should get the latest build?
|