找回密码
 立即注册

QQ登录

只需一步,快速开始

wangjg

银牌会员

5

主题

16

帖子

2857

积分

银牌会员

积分
2857

活字格认证

wangjg
银牌会员   /  发表于:2013-5-24 12:08  /   查看:10979  /  回复:10
在WebViewer中加载报表时,提示:
ActiveReports.ReportService.asmx/RunReport - not found

本帖子中包含更多资源

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

x

10 个回复

倒序浏览
wangjg
银牌会员   /  发表于:2013-5-24 15:23:00
沙发
http://localhost:7109/ActiveReports.ReportService.asmx
这个WebService是添加了的。
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-5-24 15:44:00
板凳
wangjg 你好

不知你是否有注意到这个Sample,在你安装电脑之后的这个地址 C:\Users\用户名\Documents\ComponentOne Samples\ActiveReports Developer 7\Professional\C#\ActiveReports7WithMVC ,有 ActiveReports 7 在MVC下的使用介绍。
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-24 15:45:00
地板
回复 3楼dof的帖子

是啊,我就是照着这个例子实现的。Sample里的项目是可以运行的。我做的不行。
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-24 15:51:00
5#
回复 3楼dof的帖子

http://localhost:7109/ActiveReports.ReportService.asmx
这个WebService是添加了的。
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-24 15:57:00
6#
回复 3楼dof的帖子

Sample的例子运行时:
Request URL:http://localhost:50446/ActiveReports.ReportService.asmx/RunReport
Request Method: POST
Status Code:200 OK

我的项目运行时:
Request URL:http://localhost:7109/ActiveReports.ReportService.asmx/RunReport
Request Method: POST
Status Code:404 Not Found
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-5-24 17:54:00
7#
这是我电脑上安装之后的Sample,可以正常运行,你看在你的环境中是否可以正常运行:

本帖子中包含更多资源

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

x
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-27 08:41:00
8#
回复 7楼dof的帖子

这个示例在我的环境中可以正常运行。
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-27 09:36:00
9#
回复 6楼wangjg的帖子

我自己参考创建的MVC报表项目,就是无法显示报表。
ActiveReports.ReportService.asmx/RunReport - not found

我通过邮件发送给你。
回复 使用道具 举报
wangjg
银牌会员   /  发表于:2013-5-27 10:36:00
10#
问题已经解决:需要修改Web.Config配置,覆盖MVC项目自动带出的配置信息。
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true" />
    <handlers>
      <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" />
      <add verb="*" path="*.ar7" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v7, Version=7.1.7470.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7470.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7470.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7470.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ar7Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7470.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>
  </system.webServer>
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部