Asp.net-mvc – Converting RDL report to RDLC for use in MVC

asp.net-mvcrdlcreporting-services

I have an existing RDL report that I want to convert to an RDLC report for use in an MVC application.

According the the MSDN Site the way to convert it is to rename the .rdl file to .rdlc, include it in the project and then use a ReportViewer control to select the datasource.

Being MVC I don't have a ReportViewer control on my page, I was using this post to help me render the report into the Response stream.

I've renamed the rdl to rdlc and included it in my project but I get the following error when trying to open it:

The report definition is not valid.
Details: The report definition has an
invalid target namespace
'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
which cannot be upgraded.

Any ideas how I can convert the rdl to rdlc without having to re-write it?

Best Answer

You cannot convert a SQL Server 2008 Reporting Services report .RDL into .RDLC - Microsoft only knows why.....

See Bill Vaughn's Retraction: The ReportViewer Control does NOT support SQL Server 2008 RDL in Local Mode for some expert insight.

In short: right now, Microsoft doesn't have a working story for converting RDL to RDLC in Reporting Services 2008.

Related Topic