问题
I m trying to use ReportViewer control in VS2013 to display a report from a SSRS server. The full path to the report URL is like below and I can access report by typing the path in browser
http://vm-xx-xxxx/Reports/Pages/Report.aspx?ItemPath=%2fname+xxx+And+xxx%2fWorkOrder+UAT
I have tried various combinations to set the ReportServerUrl and ReportPath properties but nothing seems to work.
e.g. ReportPath="/Reports/Pages/Report.aspx?ItemPath=%2fxxx+xxx+And+xxx%2fWorkOrder+UAT
and the ReportServerUrl="http://vm-xx-xxxxx"
Any ideas how to fix this? thanks
回答1:
Try using:
ReportServerUrl="http://vm-xx-xxxxx/reportserver"
ReportPath="/xxx+xxx+And+xxx/WorkOrder+UAT"
Configuring ReportViewer for Remote Processing
来源:https://stackoverflow.com/questions/30172721/how-to-set-reportviewer-controls-report-server-url-and-report-path-properties-in