all groups > sql server reporting services > august 2007 >
You're in the

sql server reporting services

group:

Newbie --- RDL to RDLC Conversion



Newbie --- RDL to RDLC Conversion Momomo
8/28/2007 7:36:30 PM
sql server reporting services: Hi,

I am developing a few reports using the Micrsoft report server which
create a "RDL" file. I was wondering if I can directly transfer these
reports to my ASP.Net application and convert them to the RDLC format?
can anybody provide any information about this functionality?

Thanks
Re: Newbie --- RDL to RDLC Conversion Bruce L-C [MVP]
8/29/2007 12:00:00 AM
Assuming they are RS 2005 files all you have to do is change the extension
and bring them into you project.

I looked at using the viewer control in local mode (which is what you are
talking about doing) and if you have a RS server around you are much better
off to use it in server mode. There is a lot of mucking around that you have
to do with local reports. For instance, for a subreport you have to wire up
an event. It is nothing all that difficult but between hooking up events,
retrieving the data etc it is a good bit more effort than just calling the
report and passing a parameter.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services


[quoted text, click to view]

Re: Newbie --- RDL to RDLC Conversion Momomo
8/29/2007 1:21:59 PM
Hi,

Thank you for the response.How do I deal with "RDS (Shared Data
Source)" and "RDL.Data" files? hwo di I migrate those to my web site?

Mo
Re: Newbie --- RDL to RDLC Conversion Bruce L-C [MVP]
8/29/2007 3:39:05 PM
I think you are a bit confused about how the control works. First, you are
using the reportviewer control that ships with VS 2005. It comes both as a
webform and as a winform control. Assuming you are then you need to decide
whether you want to use local mode or server mode. In server mode it
connects to RS server. You provide the parameters and it calls and then
displays the report. This is pretty straight forward to implement. In local
mode you give it the report (rdlc file) and hand it the dataset (really a
datatable). You have total control and you have to do more work.

RS does not have an RDL file on the server, it stores the object. You have
to save the report from Report Manager or get it out of the original VS
project that created the reports.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button