sanyoumed 发表于 2016-6-22 09:47:18

pdf导出时提示 license的问题

本帖最后由 Lenka.Guo 于 2016-6-22 10:46 编辑



如上图,在开发环境没有问题,在客户端如上图报错。

如何解决?谢谢!

Lenka.Guo 发表于 2016-6-22 10:31:05

Hi,这个问题是由于未将GrapeCity.ActiveReports.Export.Pdf.v10.dll 文件复制到部署机器上导致的错误。
需要将这个dll文件拷贝到部署机器上。

AR项目部署参考博客,里面有详细的步骤: http://blog.gcpowertools.com.cn/post/2015/04/07/ActiveReports_Deploy_-IIS.aspx

sanyoumed 发表于 2016-6-22 11:33:39



我这个是winform项目,不是web项目。

如果没有上传的话,应该不是 license的问题了吧?

sanyoumed 发表于 2016-6-22 11:36:59

补充一下: windows7.0+visual 2010 +winform +ar 10.0

pdf.v10.dll 已上传。

目前是license 报错。

sanyoumed 发表于 2016-6-22 12:12:43

在 lincese.licx 里可以看到 :

GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v10, Version=10.0.6191.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

Lenka.Guo 发表于 2016-6-22 12:23:52

本帖最后由 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:20

已解决。谢谢!

Lenka.Guo 发表于 2016-6-22 13:30:54

sanyoumed 发表于 2016-6-22 12:38
已解决。谢谢!

:hjyzw:
页: [1]
查看完整版本: pdf导出时提示 license的问题