Solved

How to call or run sql server reporting services 2005 reports from asp.net web form button

Posted on 2008-10-14
4
756 Views
Last Modified: 2012-05-05
Hi,
I have created SQL SERVER REPORTING SERVICES 2005 reports in my asp.net 2005 application. How can I run these reports from the button click events? Should I use a report viewer control? How can I pass the parameter to the report as a criteria? Thanks
0
Comment
Question by:fycert55
4 Comments
 
LVL 20

Accepted Solution

by:
informaniac earned 250 total points
ID: 22718202
Once reports are deployed on the report server, just call them like this

http://ServerName/ReportFolder/ReportName¶m1=value
0
 
LVL 13

Assisted Solution

by:sm394
sm394 earned 250 total points
ID: 22718962
IN code behind on click event set the ReportViewer properties
 // set processing mode to remote
        ReportViewer1.ProcessingMode = ProcessingMode.Remote;
        // specify report URL
        // replace localhost with server name if needed
        ReportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://localhost/reportserver");
        // specify report path
        ReportViewer1.ServerReport.ReportPath = @"/dir/" + "reportname";

hope that helps
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Caste datetime 2 52
Can Unique column have more than one Null? 8 47
Anyway to make "All" the default in the dropdown? 6 34
Reset asp.net login password 4 32
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now