pdf导出时提示 license的问题
本帖最后由 Lenka.Guo 于 2016-6-22 10:46 编辑如上图,在开发环境没有问题,在客户端如上图报错。
如何解决?谢谢!
Hi,这个问题是由于未将GrapeCity.ActiveReports.Export.Pdf.v10.dll 文件复制到部署机器上导致的错误。
需要将这个dll文件拷贝到部署机器上。
AR项目部署参考博客,里面有详细的步骤: http://blog.gcpowertools.com.cn/post/2015/04/07/ActiveReports_Deploy_-IIS.aspx
我这个是winform项目,不是web项目。
如果没有上传的话,应该不是 license的问题了吧?
补充一下: windows7.0+visual 2010 +winform +ar 10.0
pdf.v10.dll 已上传。
目前是license 报错。 在 lincese.licx 里可以看到 :
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v10, Version=10.0.6191.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff 本帖最后由 Lenka.Guo 于 2016-6-22 12:29 编辑
sanyoumed 发表于 2016-6-22 12:12
在 lincese.licx 里可以看到 :
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v10, ...
License.licx 文件中缺少对PDF 的声明, 请手动添加该项的声明:
类名, 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
已解决。谢谢! sanyoumed 发表于 2016-6-22 12:38
已解决。谢谢!
:hjyzw:
页:
[1]