找回密码
 立即注册

QQ登录

只需一步,快速开始

phinex

中级会员

7

主题

29

帖子

843

积分

中级会员

积分
843

活字格认证

phinex
中级会员   /  发表于:2016-4-1 15:04  /   查看:7893  /  回复:16
本帖最后由 Lenka.Guo 于 2016-4-27 13:40 编辑

License for the WebViewer cannot be found.  To continue using ActiveReports 9, contact GrapeCity at ActiveReports.Sales@grapecity.com or Order Online.  Please send any questions or comments regarding ActiveReports 9, or our other products to activereports.support@grapecity.com.
null

16 个回复

倒序浏览
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-4-1 15:29:18
沙发
发布的时候,请检查开发机器中License.licx 文件中是否缺少WebViewer的声明;
1. 如果缺少,请手动添加或是删除License.licx文件,删除页面中的WebViewer后,重新添加WebViewer,让系统自动生成License.licx文件
2. 发布项目之前,在开发机器中,需要确保所有的与GrapeCity相关的dll文件Copy Local 属性被设为True;

发布参考博客:http://blog.gcpowertools.com.cn/ ... ts_Deploy_-IIS.aspx
回复 使用道具 举报
phinex
中级会员   /  发表于:2016-4-1 16:57:54
板凳
Lenka.Guo 发表于 2016-4-1 15:29
发布的时候,请检查开发机器中License.licx 文件中是否缺少WebViewer的声明;
1. 如果缺少,请手动添加或是 ...

已经有License.licx文件
GrapeCity.ActiveReports.Web.WebViewer, GrapeCity.ActiveReports.Web.v9, Version=9.2.3244.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v9, Version=9.2.3244.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports.v9, Version=9.2.3244.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v9, Version=9.2.3244.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
,另外我VS2012调试的时候,一直出现“打印文档时发生IO错误。原因: Error #2032”,但是VS2010一直没有问题,是我们项目升级后才出现这个问题。
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-4-1 17:19:06
地板
项目升级之后,是否有修改过AR相关的文件?

通常情况下,开发机器中报Error #2032 错误,通常有两种原因:
1. 是由于缺少FlashViewer 需要的swf文件;在安装目录下可以找到这两个文件:C:\Program Files (x86)\GrapeCity\ActiveReports 10\Deployment\Flash

2. 项目中AR 相关的dll文件不正确,如版本号;

建议重新生成License.licx文件。

如果开发机器中调试运行及正常, 请您在部署的时候严格按照 2#中博客步骤执行。
回复 使用道具 举报
phinex
中级会员   /  发表于:2016-4-13 16:31:16
5#
本帖最后由 phinex 于 2016-4-13 16:33 编辑
Lenka.Guo 发表于 2016-4-1 17:19
项目升级之后,是否有修改过AR相关的文件?

通常情况下,开发机器中报Error #2032 错误,通常有两种原因 ...

开发机器也是这样的问题
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-4-13 16:53:03
6#
phinex 发表于 2016-4-13 16:31
开发机器也是这样的问题

现在是报#2032 和License不正确的错误吗?
因为您是项目升级之后报错,请问是将ActiveReports从旧版本升级到新版本了吗?

如果是将AR升级之后报错,需要您注意两点:

1. 更新所有ActiveReports 相关的dll文件,升级为当前版本。
升级操作,使用VS的工具菜单->转换为ActiveReports 9; 一键升级。

添加新报表,自动添加dll引用。

2. 更新Grapecity.ActiveReports.Flash.v10.Resources.swf 为当前的AR版本。可在安装目录下找到:C:\Program Files (x86)\GrapeCity\ActiveReports 10\Deployment\Flash
回复 使用道具 举报
phinex
中级会员   /  发表于:2016-4-13 17:22:18
7#
本帖最后由 phinex 于 2016-4-13 17:30 编辑

重新生成了License,现在是出现Failed to read past end of stream.这个错误,然而导出word,和导出Excel都是正常的
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-4-14 11:30:37
8#
phinex 发表于 2016-4-13 17:22
重新生成了License,现在是出现Failed to read past end of stream.这个错误,然而导出word,和导出Excel都 ...

因为之前还未有用户遇到此类问题,能提供详细的错误截图吗?或是能够重现您问题的示例程序?我在这边测试验证是什么原因导致的。
回复 使用道具 举报
phinex
中级会员   /  发表于:2016-4-14 17:35:48
9#
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:37550/ActiveReports.ar10?Token=0b60d0b4-09cc-4cd6-9a3e-ffe864e8da15&Generation=1&Page=1&WebViewerControlClientId=WebViewer1&HtmlViewer=true
升级到10后。旧项目无法引用该项。但是新项目全部是正常的
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-4-15 09:36:56
10#
phinex 发表于 2016-4-14 17:35
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:375 ...

您好,
需要跟您确认的是:
1,版本升级后,升级后的项目是否运行正常?
2,Failed to load resource: the server responded with a status of 404 (Not Found);旧项目无法引用,您是在旧版本的项目中来访问该资源吗?因为访问的资源URL 中包含AR10 版本号,旧项目是AR9,版本号不一致,这个肯定是无法访问的。
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部