Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSRS 2008 Rpt Bldr 3:转到URL操作未设置参数_Url_Reporting Services_Parameters - Fatal编程技术网

SSRS 2008 Rpt Bldr 3:转到URL操作未设置参数

SSRS 2008 Rpt Bldr 3:转到URL操作未设置参数,url,reporting-services,parameters,Url,Reporting Services,Parameters,我有一个报告,其中有一个Go-To-URL链接,我在其中构建了一个自定义URL,以打开其中嵌入的选定参数。这将打开报告并设置参数,以便报告运行,但它不会运行。相反,我得到了“参数缺少值”错误,因为URL没有设置参数值 这是我在主报告中的URL表达式: =“javascript:void(window.open(”&Globals!ReportServerUrl.Replace(“/ReportServer“,”)&”/Reports/Pages/Report.aspx?ItemPath=%2fR

我有一个报告,其中有一个Go-To-URL链接,我在其中构建了一个自定义URL,以打开其中嵌入的选定参数。这将打开报告并设置参数,以便报告运行,但它不会运行。相反,我得到了“参数缺少值”错误,因为URL没有设置参数值

这是我在主报告中的URL表达式: =“javascript:void(window.open(”&Globals!ReportServerUrl.Replace(“/ReportServer“,”)&”/Reports/Pages/Report.aspx?ItemPath=%2fRptFolder%2fsubrptmischDetails&rs:Command=Render¶m1=“&Parameters!param1.Value.ToString()&”¶m2=“&Parameters!param2.Value.ToString()&”)”

生成正确打开报告的URL:

http://<server>/Reports/Pages/Report.aspx?ItemPath=/RptFolder/subrptMiscPHDetails&rs:Command=Render&param1=2011&param2=1
http:///Reports/Pages/Report.aspx?ItemPath=/RptFolder/subrptMiscPHDetails&rs:Command=Render¶m1=2011¶m2=1
但是,这些参数并没有按预期在报告中设置。我已经检查了参数的名称,它们完全匹配

有人看到可能遗漏了什么吗


谢谢大家!

答案是我需要使用Reportserver,而不是manager,因此此URL是有效的:

http://<server>/ReportServer?/Editorial/subrptMiscPHDetails&rs:Command=Render&param1=2011&param2=1
http:///ReportServer?/Editorial/subrptMiscPHDetails&rs:Command=Render¶m1=2011¶m2=1

+1用于提及reportserver URL。在我的案例中,报告打开了,但参数没有填写。