jinzhongjituan 发表于 2016-8-11 10:30:13

mvc在页面中报表为什么加载不出来

本帖最后由 jinzhongjituan 于 2016-8-11 10:40 编辑


Lenka.Guo 发表于 2016-8-11 11:56:38

Hi,

错误1 : css文件目录位置不对解决方法: 在Content目录下添加css文件夹,然后将bootstrap.css、bootstrap.min.css、GrapeCity.ActiveReports.Viewer.Html.css、Site.css、theme-cosmo.css 移动到css文件夹下




错误2:报表路径不正确

解决方法: 打开Index.cshtml 修改为 report:{id:"report/RdlReport1.rdlx"} (去掉第一个反斜杠)

jinzhongjituan 发表于 2016-8-11 12:25:27

本帖最后由 jinzhongjituan 于 2016-8-11 13:13 编辑

An error(s) occured                                       
                        [*]The version of GrapeCity.ActiveReports.Viewer.Html.js or GrapeCity.ActiveReports.Viewer.Html.min.js does not match the version of ActiveReports installed on the server side. Please update the javascript files in your application.在页面上显示了这个错误应该怎么解决?

jinzhongjituan 发表于 2016-8-11 13:09:15

Lenka.Guo 发表于 2016-8-11 11:56
Hi,

错误1 : css文件目录位置不对解决方法: 在Content目录下添加css文件夹,然后将bootstrap.css、bo ...

An error(s) occured

    The version of GrapeCity.ActiveReports.Viewer.Html.js or GrapeCity.ActiveReports.Viewer.Html.min.js does not match the version of ActiveReports installed on the server side. Please update the javascript files in your application.

Lenka.Guo 发表于 2016-8-11 14:14:24

错误提示:GrapeCity.ActiveReports.Viewer.Html.js或 GrapeCity.ActiveReports.Viewer.Html.min.js版本号与当前机器中安装的版本不一致导致的错误。

解决方法:
删除掉 Scripts 文件夹里面这两个文件,重新添加 C:\Program Files (x86)\GrapeCity\ActiveReports 10\Deployment\Html 中的这两个文件。
页: [1]
查看完整版本: mvc在页面中报表为什么加载不出来