找回密码
 立即注册

QQ登录

只需一步,快速开始

wggfcusmq

金牌服务用户

5

主题

23

帖子

141

积分

金牌服务用户

积分
141
wggfcusmq
金牌服务用户   /  发表于:2016-11-1 08:30  /   查看:4989  /  回复:7
管理员好:
       我在开发的电脑上面打开报表是好的,但发布到测试服务器上面,就会提示错误,错误分别如下:

       使用FlashViewer,提示错误:打印文档时发生IO错误,原因:error #2032
       使用AcrobatReader,提示js错误:OpenedReport未定义
       使用RawHtml,提示js错误:arjq未定义

请问这个问题要怎么解决呢。

7 个回复

倒序浏览
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-11-1 09:31:57
沙发
htmlviewer 类型呢?
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-11-1 09:39:05
板凳
Lenka.Guo 发表于 2016-11-1 09:31
htmlviewer 类型呢?

如电话沟通,您是IIS6.0,Server 2003的部署环境,所以在IIS6.0 部署时,需要在部署时做一些额外的设置,详情参考博客,下方“部署在IIS6”:http://blog.gcpowertools.com.cn/ ... ts_Deploy_-IIS.aspx
回复 使用道具 举报
wggfcusmq
金牌服务用户   /  发表于:2016-11-1 09:56:53
地板
Lenka.Guo 发表于 2016-11-1 09:39
如电话沟通,您是IIS6.0,Server 2003的部署环境,所以在IIS6.0 部署时,需要在部署时做一些额外的设置, ...

还是不行,但添加映射最后两个看不清楚,可能我没有添加正确。
回复 使用道具 举报
wggfcusmq
金牌服务用户   /  发表于:2016-11-1 09:57:03
5#
Lenka.Guo 发表于 2016-11-1 09:39
如电话沟通,您是IIS6.0,Server 2003的部署环境,所以在IIS6.0 部署时,需要在部署时做一些额外的设置, ...

还是不行,但添加映射最后两个看不清楚,可能我没有添加正确。
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-11-1 10:08:03
6#
本帖最后由 Lenka.Guo 于 2016-11-1 10:15 编辑
wggfcusmq 发表于 2016-11-1 09:57
还是不行,但添加映射最后两个看不清楚,可能我没有添加正确。

按照以下表格内容,添加映射:
可执行文件扩展名确认文件是否存在/脚本引擎
复制 *.aspx 脚本映射内容..AR10不选择
复制 *.aspx 脚本映射内容..AR10Web不选择
复制 *.aspx 脚本映射内容..rpx选择
复制 *.aspx 脚本映射内容..rdlx选择
复制 *.aspx 脚本映射内容..rdl选择
复制 *.aspx 脚本映射内容..ActiveReport选择

添加完扩展名后,打开项目的Web.config文件,在 <system.web> </system.web>节点中,添加以下内容,注意修改Version里面的版本号为您当前机器安装的版本。如将Verison 修改为 10.2.8028.0
  1. <httpHandlers>
  2.     <add verb="*" path="*.AR10" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  3.     <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  4.     <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  5.     <add verb="*" path="*.rdl" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  6.     <add verb="*" path="*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  7.     <add verb="*" path="*.AR10Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v10, Version=8.0.xxxx.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  8. </httpHandlers>
复制代码

回复 使用道具 举报
wggfcusmq
金牌服务用户   /  发表于:2016-11-1 10:57:31
7#
Lenka.Guo 发表于 2016-11-1 10:08
按照以下表格内容,添加映射:

添加完扩展名后,打开项目的Web.config文件,在  节点中,添加以下内容 ...

添加完映射后就可以了,非常感觉Lenka.Guo 版主
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-11-1 11:16:33
8#
没事,解决了就好~
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部