找回密码
 立即注册

QQ登录

只需一步,快速开始

ymf

初级会员

11

主题

39

帖子

403

积分

初级会员

积分
403

微信认证勋章

QQ
ymf
初级会员   /  发表于:2016-9-22 11:11  /   查看:3211  /  回复:8
本帖最后由 Lenka.Guo 于 2016-9-23 10:13 编辑

发布到服务器后,报表打不打开,报错。服务器操作系统:Windows2008


相同的程序发布到本机IIS后,功能正常,本机操作系统:windows10


本帖子中包含更多资源

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

x

8 个回复

倒序浏览
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-9-22 11:26:02
沙发
您好,从截图来看,应该是报表路径不正确导致的浏览器无法找到报表文件,所以加载不成功。

可以检查下报表路径是否为正确。
回复 使用道具 举报
ymf
初级会员   /  发表于:2016-9-23 09:01:02
板凳
Lenka.Guo 发表于 2016-9-22 11:26
您好,从截图来看,应该是报表路径不正确导致的浏览器无法找到报表文件,所以加载不成功。

可以检查下报 ...

谢谢,按您提供的方法已经解决了,请帮我提升一下识论坛用户权限,我现在不能在金牌用户区发贴!
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-9-23 10:11:31
地板
ymf 发表于 2016-9-23 09:01
谢谢,按您提供的方法已经解决了,请帮我提升一下识论坛用户权限,我现在不能在金牌用户区发贴!

需要您反馈下公司名称~
回复 使用道具 举报
sky_alex
注册会员   /  发表于:2016-10-21 15:28:07
5#

本帖子中包含更多资源

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

x
回复 使用道具 举报
sky_alex
注册会员   /  发表于:2016-10-21 15:37:25
6#
发布的时候 报错了 什么情况啊?
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-10-21 15:47:01
7#
sky_alex 发表于 2016-10-21 15:37
发布的时候 报错了 什么情况啊?

在开发环境下运行正常吗?您是ASP.NET 还是MVC平台?

请检查Web.config文件是否存在以下内容:
  1.    <handlers>
  2.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="AsmxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  3.       <add verb="*" path="*.ar10" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR10_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
  4.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR10_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
  5.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR10_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  6.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR10_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  7.       <add verb="*" path="*.ar10Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR10_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
  8.     </handlers>
复制代码

  1. <httpHandlers>
  2.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
  3.       <add verb="*" path="*.ar10" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  4.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  5.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  6.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  7.       <add verb="*" path="*.ar10Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v10, Version=10.2.8028.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  8.     </httpHandlers>
复制代码


回复 使用道具 举报
sky_alex
注册会员   /  发表于:2016-10-21 17:45:18
8#
Lenka.Guo 发表于 2016-10-21 15:47
在开发环境下运行正常吗?您是ASP.NET 还是MVC平台?

请检查Web.config文件是否存在以下内容:

谢谢啊,你们工程师已经帮忙解决了。
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2016-10-21 17:46:28
9#
sky_alex 发表于 2016-10-21 17:45
谢谢啊,你们工程师已经帮忙解决了。

好的,谢谢反馈
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部