Solved

SSRS 2005 in c# .NET

Posted on 2012-03-22
4
436 Views
Last Modified: 2012-03-23
I'm looking for a good tutorial on how to render reports in my C# .NET application. I have several reports built already that I can view through browsing to the report server, but I'd like to display these reports through my website and have it deal with the credentials.
I have SSRS 2005 and Visual Studio 2010. I've read a lot of stuff about different references needed (and I think I've got that part handled), but I'm just looking for something to teach me how to just set up a report in the .aspx / codebehind and pass parameters to the report server.

A point in the right direction would be much appreciated.
0
Comment
Question by:Josh_Blade
  • 2
4 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 37756107
You could use the ReportViewer control (in remote processing mode) to render the reports from your SSRS server.

What I'm not sure about though is if you'll be able to access the SSRS 2005 server from the control in VS2010.  According to the MSDN page below, it needs to be "2008 or above".

MSDN: http://msdn.microsoft.com/en-us/library/ms251671(v=vs.100).aspx

Then on the other hand, at least someone has gotten it to work: http://marionetto.wordpress.com/2011/04/19/visual-studio-2010-calling-sql-2005-reporting-services/
0
 
LVL 28

Expert Comment

by:sammySeltzer
ID: 37756870
To access your ssrs reports using vs 2010, you will need to first convert them from .rdl to .rdlc.

The c standing for client.

In my case, I found it much easier to go ahead and build the reports within VS using report viewer control.
0
 

Author Closing Comment

by:Josh_Blade
ID: 37757251
ValentinoV, Thanks for the kick in the right direction!
 Everything I've read (and experienced) has said the same thing as far as you can't use the vs2010 reportviewer control with ssrs2005, but your second link was most of what I needed (you can use the ssrs2005 dlls for reportviewer).

Here's some additional information if anyone else needs it:
You'll need to add the Microsoft.Reportviewer.WebForms 8.0.0.0 dll to your references. If you don't have it in your reference list already, you can download it from here:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21916

After downloading and installing the 2005 redistributable, the 8.0 dll will be in your assemblies folder, but will not show up automatically in your references list so you have to browse to it.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37759412
Cool, good to know! :)

Thanks for the update, well done!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

22 Experts available now in Live!

Get 1:1 Help Now