c# - 如何在 asp.net 中设置 Reportviewer 控件报表服务器 Url 和报表路径属性

标签 c# asp.net reporting-services

我正在尝试使用 VS2013 中的 ReportViewer 控件来显示来自 SSRS 服务器的报告。报告 URL 的完整路径如下所示,我可以通过在浏览器中输入路径来访问报告

http://vm-xx-xxxx/Reports/Pages/Report.aspx?ItemPath=%2fname+xxx+And+xxx%2fWorkOrder+UAT

我尝试了各种组合来设置 ReportServerUrl 和 ReportPath 属性,但似乎没有任何效果。

例如ReportPath="/Reports/Pages/Report.aspx?ItemPath=%2fxxx+xxx+And+xxx%2fWorkOrder+UATReportServerUrl="http://vm-xx-xxxxx "

有什么解决办法吗?谢谢

最佳答案

尝试使用:

ReportServerUrl="http://vm-xx-xxxxx/reportserver"
ReportPath="/xxx+xxx+And+xxx/WorkOrder+UAT"

Configuring ReportViewer for Remote Processing

关于c# - 如何在 asp.net 中设置 Reportviewer 控件报表服务器 Url 和报表路径属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30172721/

相关文章:

c# - 如何将字符串转换为偶校验的 7 位 ASCII?

c# - Azure 持续部署 - Code First 迁移播种问题 (MVC 5)

asp.net - 如何绕过单个字段的请求验证?

python - 使用 requests 在 Python 中下载 SSRS 报告

xml - SSRS 2005 - XML 网络服务数据集 - 参数未传递给网络服务

c# - 强制浏览

c# - 在 mvc .net (system.data.common.dbconnection) 中建立连接时出错

c# - 如何基于 DropDownList 选择验证具有 RegularExpression 的 TextBox?

asp.net - 为 SSL 配置 IIS 7 时出错

sql - SSRS - 在多个数据集中重用临时表