How to view reports from ASP.Net

I'm new to reporting services and can't figure out how to access/show a report from an ASP.Net web page. It'd be nice is reporting services BOL explained this but it doesn't. I've put a reportviewer control on the an ASP.Net web page but everything I put into the ServerReport properties for the control are wrong. Help.



Answer this question

How to view reports from ASP.Net

  • JConklin

    Please mark the post as correct answer

  • mattpic

    Did you uploaded the report to the server

    first navigate to the Report Maanager

    http://localhost/reports/Pages/Folder.aspx

    There you can upload your report. and your data source,



  • JKRAFT PIT Rep

    Luis, Thanks for the help.  I just want the most simplest way to show a report from an ASP.Net website.  For the reportviewer control here's what I have:

    1) ReportServerPath: http://localhost/reportserver

    2) ReportPath: /issue_account.rdl

    These must not be correct because when I browse to the web page it says "The item '/issue_account.rdl' cannot be found".    What would the report path be   Is it a file path like c:\reports\issue_account.rdl  or some other type of path   Thanks again.


  • TaylorB

    What are you putting in these properties

    If you want another cooler option you can read at my space/blog the new article in how to render reports as Inline or embedded HTML. ITs cooler if you need more control.



  • CSharpIsBFlat

    In report viewer you only have to set the reportserver and report path properties, after it it should be ok, if you cant seee them show me the error.

  • SCISYS DBA

    Yes, the report has been uploaded and it's data source. I can view the report in Report manager. How do I rig the reportviewer control in an ASP.Net page to show it
  • Santosh Ransubhe

    Luis, It works now; I had to put report path "/somefolder/reportname". Thanks.
  • How to view reports from ASP.Net