0
我想通过以下网址运行报告:SSRS 2008 R2查询字符串参数SharePoint集成模式
http://portal/dashboards/hr/reports/_vti_bin/ReportServer?http://portal/dashboards/hr/reports/reports/Test.rdl
不过,我得到一个401未经授权错误。
我以这种方式访问报表的原因是我可以传递一些参数(我现在已经拿掉了)。我想通过queyrstring传递一些将用于运行报告的mdx值。
该URL与queyrstring参数类似。
http://portal/dashboards/hr/reports/_vti_bin/ReportServer?http://portal/dashboards/hr/reports/reports/Test.rdl&rp:CostCentreCostCentreHierarchy=%5BCost%20Centre%5D.%5BCost%20Centre%20Hierarchy%5D.%26%5B1002%5D&TimeFiscalYearQuarter=%5BTime%5D.%5BFiscal%20Year-Quarter-Month%5D.%5BF%20Quarter%5D.%26%5B20123%5D
基本上参数是MDX值。
我确信这一点对我来说有一段时间 - 但没有更多。
我希望这是一个缺少权限的情况下?
问题可能与_vti_bin文件夹有关。我用这篇文章:http://msdn.microsoft.com/en-us/library/ms155391.aspx
从各自的列表通过Sharepoint打开报告,工作正常 - 报告运行没有任何错误 - 它只是当我使用_vti_bin url我得到这个问题。查询字符串参数不适用于_layouts文件夹中的regaular报告查看器url。
如果有更好的方法来做到这一点,那么请告知。
任何帮助表示赞赏。
感谢,
KS