此模版格式中查询,显示图片,图片格式为jpg 格式,查询出来后提示 Rendering error
错误明细:
System.Exception: Rendering error ---> System.ArgumentOutOfRangeException: 要求非负数。
参数名: count
在 System.IO.BinaryReader.ReadBytes(Int32 count)
在 GrapeCity.ActiveReports.Rendering.Image.ImageHelper.ReadDensity(BinaryReader binaryReader, Int32 densityOffset, Int32& offset, Boolean littleEndian)
在 GrapeCity.ActiveReports.Rendering.Image.ImageHelper.TryDecodeExif(BinaryReader binaryReader, Int32& intOffset)
在 GrapeCity.ActiveReports.Rendering.Image.ImageHelper.DecodeJpeg(BinaryReader binaryReader)
在 GrapeCity.ActiveReports.Rendering.Image.ImageHelper.GetDimensions(BinaryReader binaryReader)
在 GrapeCity.ActiveReports.Rendering.Image.ImageHelper.GetDimensions(Stream image)
在 GrapeCity.ActiveReports.Viewer.Common.Internal....<.ctor>b__0()
在 System.Lazy`1.CreateValue()
在 System.Lazy`1.LazyInitValue()
在 System.Lazy`1.get_Value()
在 GrapeCity.ActiveReports.Viewer.Common.Internal...get_Size()
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderImage(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.<>c__DisplayClass3_0.<GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render>b__0(Action`2 callback)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderReportItem(GraphicsRenderContext context, ILayoutArea area, Boolean fallback)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderTable(GraphicsRenderContext context, ILayoutArea tableArea)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.<>c__DisplayClass8_0.<RenderBorderAndBackground>b__0(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.<>c__DisplayClass3_0.<GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render>b__0(Action`2 callback)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderReportItem(GraphicsRenderContext context, ILayoutArea area, Boolean fallback)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderAreaContent(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderRectangle(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.<>c__DisplayClass3_0.<GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render>b__0(Action`2 callback)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.GrapeCity.ActiveReports.Drawing.IGraphicsRenderer.Render(GraphicsRenderContext context, ILayoutArea area)
在 GrapeCity.ActiveReports.ImageRenderers.Renderer.RenderSection(ILayoutArea section, GraphicsRenderContext context)
在 GrapeCity.ActiveReports.ImageRenderers.Renderer.RenderPage(GraphicsRenderContext context, ILayoutPage page)
在 GrapeCity.ActiveReports.Viewer.Common.Internal..RenderPage(TargetDeviceKind device, IDrawingCanvas canvas, ITextMetricsProvider metricsProvider, ILayoutPage page, EvalMessageInfo evalMessageInfo)
在 GrapeCity.ActiveReports.Viewer.Common.Internal..RenderLayoutPage(ILayoutPage layoutPage, IFontsFactory fonts)
--- 内部异常堆栈跟踪的结尾 ---
在 GrapeCity.ActiveReports.Viewer.Common.Internal...<RenderLayoutPage>b__1(Graphics g, TargetDeviceKind deviceKind)
在 GrapeCity.ActiveReports.Viewer.Common.Internal..Render(Graphics graphics, TargetDeviceKind deviceKind)
在 GrapeCity.ActiveReports.Viewer.Common.Internal..Render(Graphics graphics)
在 GrapeCity.ActiveReports.Viewer.Win.Views.SinglePageView.OnPaintImpl(PaintEventArgs e)
|