jay
jay

Reputation: 3879

convert rdl to rdlc?

I am using visual studio 2008 and reporting service 2008.

I created a .rdl reports. Now I want to convert .rdl to .rdlc. How can I do it?

Upvotes: 6

Views: 7509

Answers (3)

user1161391
user1161391

Reputation: 131

I found working with MS support that converting an RDL to RDLC merely by changing the extensions results in a ReportViewer Control HTTPHandler error which is shown with a style of "dsiplay:none". It accuses the developer of not including the HTTPHandler in the web.config, when it is actually in the web.config. Using an rdlc created by VS in that project, then the reportviewer opens just fine and properly displays. MS support and I are still researching what other changes need to be made, but as of now, I can let people know not to drink the MSDN Kool-Aid.

I also tried changing the schemas namespace in the XML file and I got the same report definition cited above.

Upvotes: 1

liftarn
liftarn

Reputation: 445

Good question. According to spec whey should be more or less the same, but in reality they differ wildly depending on version. For instance if I open an RDLC file I created in Visual Studio 2010 in Report Builder 3.0 it works. But if I make a change in my RDL(C) file and try to open it in VS2010 I first get asked if I want to convert it to RDLC 2008 format (yes) and then I get the error message "The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded."

Upvotes: 3

Randy Minder
Randy Minder

Reputation: 48402

There is nothing to convert. All you have to do is to rename the file to .rdlc. This converts it from a server report to a client report. The underlying schema is the same, whether it's an .rdl or .rdlc file.

Take a look at FAQ #8 here: http://www.gotreportviewer.com/

Upvotes: 2

Related Questions