rumi
rumi

Reputation: 3298

how to set Reportviewer controls report server Url and report path properties in asp.net

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

Upvotes: 1

Views: 10046

Answers (1)

Richard Deeming
Richard Deeming

Reputation: 31198

Try using:

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

Configuring ReportViewer for Remote Processing

Upvotes: 5

Related Questions