Lenka.Guo 发表于 2016-3-8 12:42:23

抱歉,您的问题没有重现,GrapeCity.ActiveReports.Viewer.OnLoad() 方法在开发机器中正常,则表示服务器部署问题请尝试清空服务器缓存和应用池,重新编译。
下午会跟您电话沟通。


KinnSoft 发表于 2016-3-9 16:12:22

您好,那个onLoad方法注释完后,报这个错了。是设置iis那边漏了什么吗?


KinnSoft 发表于 2016-3-9 16:37:27

您好,去掉onLoad注释,删除两个swf文件后,报以下错误



Lenka.Guo 发表于 2016-3-9 16:49:54

好的,错误信息已经收到;会尽快给您答复。您要是能提供示例程序就更好了

KinnSoft 发表于 2016-3-9 17:09:31

您好,我们没有示例文件,提供外网,让您去访问可以吗?

Lenka.Guo 发表于 2016-3-9 17:13:37

IIS6 部署,参考博客:
http://blog.gcpowertools.com.cn/post/2015/04/07/ActiveReports_Deploy_-IIS.aspx

KinnSoft 发表于 2016-3-9 17:36:42

:'(:'(亲,您好,IIS配置完后还是报相同的错误。

Lenka.Guo 发表于 2016-3-9 18:18:35

这个问题是IIS 部署不正确导致的,您在修改之后,需要重启IIS。

第二:您打开项目的“Web.Config”文件中,查看是否有以下代码:

<httpHandlers>
    <add verb="*" path="*.AR10" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    <add verb="*" path="*.rdl" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    <add verb="*" path="*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    <add verb="*" path="*.AR10Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
</httpHandlers>

配置Handlers 就是为了Web应用能够正常访问报表。一旦Handler配置成功,就可以自动运行和浏览报表。

KinnSoft 发表于 2016-3-10 10:14:18

您好,
    我们这边的web.config有您说的那段代码,如下图

这边的大小写有关系吗?
   您说重启IIS是服务器上的整个IIS还是说我们对应的那个网站?

Lenka.Guo 发表于 2016-3-10 10:53:14

本帖最后由 Lenka.Guo 于 2016-3-10 10:59 编辑

Web.Config文件的 名称一定要与IIS增加的扩展名的名字一致。
配置完成之后一定要重启IIS, 否则会有缓存信息。您也需要强刷您的浏览器,否则都有可能存在缓存信息。
重启ActiveReports对应的网站就可以了。
您那边部署之后的链接,可以访问吗?给我个链接,我在这边试试访问。
页: 1 2 [3] 4
查看完整版本: 更新AR report V10 报错