1.程序部署后报报License错误,“License for the PageReport cannot be found.”
原因:License.licx文件缺少PageReport的声明项。
解决方法: 在开发机器上,打开Licenses.licx文件,手动添加PageReport的声明项,Version,Cultural,PublicKeyToken这 三项复制Licenses.licx文件中其他项的内容:
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v10, Version=10.1.7168.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
2. Winform 程序 pdf导出时提示 license的问题
产生原因:1. 缺少GrapeCity.ActiveReports.Export.Pdf.v10.dll 文件,将此dll文件拷贝到项目中2. License.licx文件缺少对PDF的声明,手动修改Licenses.licx 文件,添加以下内容(类名, dll引用,版本号,Culture,PublicKeyToken):
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v10, Version=10.0.6191.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Page, GrapeCity.ActiveReports.Export.Pdf.v10, Version=10.0.6191.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
3. HTML5Viewer 的项目,部署之后报 Licenses for the WebViewer could not be found 。
问题产生原因: 缺少相关的License,所以用WebKeyGenerator.exe (C:\Program Files (x86)\Common Files\GrapeCity\ActiveReports 11)生成配置信息,然后粘贴到Web.config文件中对应的节点