chenfeng1029 发表于 2019-7-16 15:16:38

License for the PageReport cannot be found.

1、我编译的文件发布到其他电脑,调用报表时,显示License for the PageReport cannot be found.错误
2、我是dll文件调用。我看了下dll文件licenses.licx包含了ar11的授权信息。

Lenka.Guo 发表于 2019-7-16 15:16:39

好的,谢谢您的反馈, 添加Viewer时会自动生成一部分项目,有时候会遗漏,所以需要手动检测和添加,给您带来不便非常抱歉,

KearneyKang 发表于 2019-7-16 16:28:28

您好,这是由于你项目中的license文件配置缺失导致的,你把你项目的license文件删除,然后再重新生成一个新的license文件就可以了。

chenfeng1029 发表于 2019-7-16 17:34:46

GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
这里我添加后只能生成第一行。后面4行,我是没法生成的。就是加入组件也一样。

chenfeng1029 发表于 2019-7-16 23:56:56

我重新试了下,后面的版本添加授权信息有问题。
我改成
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web.v11, Version=11.2.10750.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
就可以编辑。
现在就是添加view不能自带上述这些授权,还要人为手工添加。比较麻烦。

chenfeng1029 发表于 2019-7-17 11:22:47

Lenka.Guo 发表于 2019-7-17 11:13
好的,谢谢您的反馈, 添加Viewer时会自动生成一部分项目,有时候会遗漏,所以需要手动检测和添加,给您带 ...

ok。那我就手工自动添加下。但有那些需要额外手工添加,最好能罗列下。还是说我上面罗列这几项就够了,分发就不影响了。

Lenka.Guo 发表于 2019-7-17 11:33:25

常用的就主要包括:GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win
GrapeCity.ActiveReports.Design.Designer, GrapeCity.ActiveReports.Design.Win
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports

GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf
GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web


页: [1]
查看完整版本: License for the PageReport cannot be found.