请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

KearneyKang 讲师达人认证 悬赏达人认证
超级版主   /  发表于:2018-5-30 15:28  /   查看:4071  /  回复:2
MVC项目出现未找到WebViewer的许可证的问题。
问题截图如下:
出现这个问题一定是缺失GrapeCity.ActiveReports.Viewer.Win.Viewer导致的。
解决该问题的思路如下:
1、     首先找到项目中对应的license文件,看license文件中是GrapeCity.ActiveReports.Web.WebViewer
如:
GrapeCity.ActiveReports.SectionReport,GrapeCity.ActiveReports.v12, Version=12.0.11775.2, Culture=neutral,PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.PageReport,GrapeCity.ActiveReports.v12, Version=12.0.11775.2, Culture=neutral,PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport,GrapeCity.ActiveReports.Export.Pdf.v12, Version=12.0.11775.2, Culture=neutral,PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Web.WebViewer,GrapeCity.ActiveReports.Web.v12, Version=12.0.11775.2, Culture=neutral,PublicKeyToken=cc4967777c49a3ff
如果找不到Licenses件。
A.   点击项目上方的显示所有文件。然后在项目中寻找licenses件
B.   如果还是找不到,就需要在项目中添加一个新的Web窗体,然后拖入一个WebViewer控件,这样就会自动生成一个licenses 文件。
     


2、看引用中是否存在GrapeCity.ActiveReports.Web的引用,不存在添加引用,所以引用的路径:C:\Program Files (x86)\Common Files\GrapeCity\ActiveReports 12
     
3、目中的Web.Config 文件中是否存在GrapeCity.ActiveReports.Web.v12

4、设置项目中所有AR的引用的复制本身的属性为true。这样项目发布后才能找的导引用,不会出现引用缺失的问题。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

2 个回复

倒序浏览
yandaniu
金牌服务用户   /  发表于:2019-7-4 16:26:17
沙发
就是这样做的,还是不行
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-7-5 09:46:51
板凳
现在具体报什么问题,还是跟原来的一样吗?我这边验证是没有问题的,我在去看看
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部