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