ding3359 发表于 2014-12-30 13:21:00

设计器许可问题

在开发电脑用编译好的设计器做好报表文件(页面)到客户电脑用设计器打开预览时就报下面的错,请问如何解决?
尝试过移掉许可文件和DLL,还是一样。另外手动引用了GrapeCity.ActiveReports.Export.Word.v8.dll等三个文件。

错误明细:
System.ComponentModel.LicenseException: License for the PageReport cannot be found.
   at GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
   at GrapeCity.ActiveReports.Viewer.Win.Rdlx.RdlReport.<>c__DisplayClassf.<LoadImpl>b__b()
   at GrapeCity.ActiveReports.Viewer.Win.AsyncLoader.<>c__DisplayClass7.#cAz(Object , DoWorkEventArgs )
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

iceman 发表于 2014-12-30 13:51:00

回复 1楼ding3359的帖子

请参考:
http://blog.gcpowertools.com.cn/post/2014/07/26/AR_Clear_TrialInfo.aspx

另外,要确保 License.licx这个文件中有 PageReport这条信息。
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v9, Version=9.0.1678.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

ding3359 发表于 2014-12-31 10:11:00

回复 2楼iceman的帖子

License.licx确实没有 PageReport这条信息,但是我新建了一个项目按照链接的方法做了还是没这条信息,这条信息只要添加页面报表就会出来吗?
(我是V8的)

iceman 发表于 2014-12-31 11:13:00

回复 3楼ding3359的帖子

这个问题我目前还无法重现,建议您手动添加一条 PageReport 的信息。

GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v8, Version=8.1.414.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

ding3359 发表于 2014-12-31 11:42:00

回复 4楼iceman的帖子

奇怪了,添加区域报表后有自动加一条的,页面报表就是不行。
不过手动添加可以了。

iceman 发表于 2015-1-4 09:24:00

回复 5楼ding3359的帖子

这个问题可能和 VS 有关,生成 License.licx 文件,和其中的信息是 VS 的机制。

本问题先关闭了。
页: [1]
查看完整版本: 设计器许可问题