本帖最后由 Lenka.Guo 于 2016-7-28 11:10 编辑
打开设计界面完整没有问题,设计并且添加好数据源后在点击预览的时候则会出现此类问题!
Exception details:
System.ComponentModel.LicenseException: License for the PageReport cannot be found.
在 GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
在 GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh)
在 GrapeCity.ActiveReports.Viewer.Win.Rdlx.RdlReport.<>c__DisplayClassf.<LoadImpl>b__b()
在 GrapeCity.ActiveReports.Viewer.Win.AsyncLoader.<>c__DisplayClass7.#cAz(Object , DoWorkEventArgs )
在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
原本以为是 License授权的问题,但是发现发布出去的版本中License文件中的内容是
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Design.Designer, GrapeCity.ActiveReports.Design.Win.v9, Version=9.4.4727.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
我就不明白为什么还会出现这样的问题呢?是否有解决办法? 打开预览的窗口为winfrom窗体并内嵌
GrapeCity.ActiveReports.Viewer.Win.Viewer 控件进行预览展示!!!!!!!!!
|
|