现在在服务器上装了AR,用设计器打开报表导出word时报这个错误,麻烦帮忙看看是什么问题?谢谢!
错误明细:
GrapeCity.ActiveReports.ReportException: An unexpected error occurred. Additional information: '未能加载文件或程序集“System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)' ---> System.IO.FileLoadException: 未能加载文件或程序集“System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
在 GrapeCity.ActiveReports.Rendering.Components.DV.ChartRenderer.InitTextOption(ITextConfig textConfig)
在 GrapeCity.ActiveReports.Rendering.Components.DV.ChartRenderer.CreateDvOption(IChart chart, RectangleF bounds)
在 GrapeCity.ActiveReports.Rendering.Components.DV.ChartRenderer.Render(IChart chart, ITextMetricsProvider metricsProvider, IDrawingCanvas canvas, ILayoutArea area, RectangleF bounds, ITextLayoutService textLayoutService)
在 GrapeCity.ActiveReports.Rendering.GraphicalRenderer.RenderDVChart(GraphicsRenderContext context, ILayoutArea area)
在 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.Internal..RenderWithGcDoc(ILayoutArea layoutArea, String mimeType, SizeF dpi, Boolean doContent, Boolean doBackground, Boolean doBorders)
在 GrapeCity.ActiveReports.Internal..RenderImpl(ILayoutArea layoutArea, String mimeType, SizeF dpi, Boolean doContent, Boolean doBackground, Boolean doBorders)
在 GrapeCity.ActiveReports.Internal..Render(ILayoutArea layoutArea, String mimeType, SizeF dpi)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..( context, IReportItem reportItem, IRenderersFactory renderersFactory, SizeF size)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..PictureBytes( context)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..( context, picture, Stream& stream)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..Render( item, context)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..Render( layoutItem, context)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I...MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..Render( layoutItem, context)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..RenderBody(IBody body, context, IReport report, pageSize)
在 GrapeCity.ActiveReports.Core.Export.Word.Page.I..Write(WordprocessingDocument wordDocument, IReport report, WordExportSettings wordSettings, IRenderersFactory rendersFactory)
在 GrapeCity.ActiveReports.Core.Export.Word.DocxRenderer.Render(IReport report, Stream stream, WordExportSettings wordSettings, IRenderersFactory renderersFactory)
在 GrapeCity.ActiveReports.Export.Word.Page.WordRenderingExtension.Render(IReport report, StreamProvider streams, NameValueCollection settings)
在 GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh, Boolean forceParameterDataRefresh, CancellationToken token)
--- 内部异常堆栈跟踪的结尾 ---
在 GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh, Boolean forceParameterDataRefresh, CancellationToken token)
在 GrapeCity.ActiveReports.Viewer.Common.Internal.ViewerApi.Render(IRenderingExtension extension, StreamProvider streamProvider, NameValueCollection settings)
在 GrapeCity.ActiveReports.Viewer.Win.Viewer.Render(IRenderingExtension extension, StreamProvider streamProvider, NameValueCollection settings)
在 GrapeCity.ActiveReports.Win.Export.ExportViewer.Render(IRenderingExtension export, StreamProvider streamProvider, NameValueCollection settings)
在 GrapeCity.ActiveReports.Viewer.Win.Internal.Export.PageExport.<>c__DisplayClass19_0.<DoExport>b__0()
|