wggfcusmq 发表于 2016-10-31 10:36:03

ActiveReport10报表控件发布到服务器,提示license找不到

管理员好:
   我在开发电脑上面查看报表是没有问题的,但发布到服务器上面后,打开报表,会提示下面的错误:
License for the SectionReport cannot be found

在vs里面找到licenses.licx文件内容如下:

GrapeCity.ActiveReports.Web.WebViewer,GrapeCity.ActiveReports.Web.v10,Version=10.2.8427.0,Culture=neutral,PublicKeyToken=cc7967777c49a3ff
GrapeCity.ActiveReports.SectionReport,GrapeCity.ActiveReports.Web.v10,Version=10.2.8427.0,Culture=neutral,PublicKeyToken=cc7967777c49a3ff
GrapeCity.ActiveReports.PageReport,GrapeCity.ActiveReports.Web.v10,Version=10.2.8427.0,Culture=neutral,PublicKeyToken=cc7967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport,GrapeCity.ActiveReports.Web.v10,Version=10.2.8427.0,Culture=neutral,PublicKeyToken=cc7967777


请帮助解决,谢谢

wggfcusmq 发表于 2016-10-31 10:38:59

我的是网站,不是wbform工程

wggfcusmq 发表于 2016-10-31 10:39:18

我的是网站,不是webform工程

Lenka.Guo 发表于 2016-10-31 11:40:55

wggfcusmq 发表于 2016-10-31 10:39
我的是网站,不是webform工程

如电话沟通:
在安装路径下找到WebKeyGenerator生成appSetting节点拷贝到Web.config文件的Configuration节点中。

wggfcusmq 发表于 2016-10-31 11:45:26

Lenka.Guo 发表于 2016-10-31 11:40
如电话沟通:
在安装路径下找到WebKeyGenerator生成appSetting节点拷贝到Web.config文件的Configuration ...

谢谢,license问题已经解决,但现在提示新的错误了。如下:
打印文档时发生IO错误,原因:error #2032

Lenka.Guo 发表于 2016-10-31 11:52:04

wggfcusmq 发表于 2016-10-31 11:45
谢谢,license问题已经解决,但现在提示新的错误了。如下:
打印文档时发生IO错误,原因:error #2032

您如果使用的是FlashViewer的话,需要将FlashViewer所需要的swf 资源文件拷贝到服务器中,可在路径下找到:C:\Program Files (x86)\GrapeCity\ActiveReports 10\Deployment\Flash

wggfcusmq 发表于 2016-10-31 13:53:27

Lenka.Guo 发表于 2016-10-31 11:52
您如果使用的是FlashViewer的话,需要将FlashViewer所需要的swf 资源文件拷贝到服务器中,可在路径下找到 ...

已经将FlashViewer所需的资源拷贝到服务器了,而且已经指定了FlashViewerOptions.Url和ResourceUrl的值,但还是提示上面的错误,是还缺少什么文件吗?

Lenka.Guo 发表于 2016-10-31 14:01:43

wggfcusmq 发表于 2016-10-31 13:53
已经将FlashViewer所需的资源拷贝到服务器了,而且已经指定了FlashViewerOptions.Url和ResourceUrl的值, ...

您的服务器是联网状态还是未联网?

wggfcusmq 发表于 2016-10-31 14:15:37

Lenka.Guo 发表于 2016-10-31 14:01
您的服务器是联网状态还是未联网?

未联网的

Lenka.Guo 发表于 2016-10-31 14:58:02

wggfcusmq 发表于 2016-10-31 14:15
未联网的

您先参考这个帖子,并对照修改:http://blog.gcpowertools.com.cn/post/ARFlash.aspx
然后将目录下C:\Program Files (x86)\GrapeCity\ActiveReports 10\Deployment\Flash 中的swz文件拷贝到项目与页面同一目录底下,并修改Web.config文件:在<system.WebServer>节点内添加:<staticContent>
      <mimeMap fileExtension=".swz" mimeType="application/x-swz" />
      <mimeMap fileExtension=".rdf" mimeType="application/octet-stream" />
    </staticContent>

页: [1] 2
查看完整版本: ActiveReport10报表控件发布到服务器,提示license找不到