SSRS - Still no local rendering of 2008 reports in the latest viewer? - reporting-services

I can't believe this - I just starting developing an SSRS report, using a SQL 2008 Report Server project in VS 2008. When I try to render the report in the VS 2008 ReportViewer control, I get this error
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."
I understand the error, and it has been well-documented all over the web over the past year and a half or so, but can it be that there is still no way of viewing these reports in the latest ReportViewer control? In other words, all these announcements from last year that MS would release an updated ReportViewer control in Q1 of 2009 that can render SSRS 2008 reports were wrong?
The only workaround is to install SQL Server 2005 RS? How have others solved this? Switch to VS 2010? Can I register the 2010 ReportViewer control with my VS2008 project, and is that going to solve the problem? So many questions, but no answers ...

Unfortunately, that is indeed the truth :-(
See Bill Vaughn's Retraction: The ReportViewer Control Does NOT Support SQL Server 2008 RDL in Local Mode for more details.
Hard to believe - but true :-( Let's hope it'll be better in Reporting Services for SQL Server 2010 - eerrghh... 2008 R2 :-)
Marc

Related

How to convert SSRS 2005 report to a higher version (SSRS 2010 or later) programmatically?

I am using SSRS 2005 in an old project, it has been working perfect with ReportViewer in local mode for many years, but recently I encountered an exception while exporting the excel report. ".xls" file has a max rows limit (65536), I decide to upgrade the SSRS to a higher version.
Since many years past, there generated thousands of reports, the report definitions were saved as XML in the database. I tried to load the old report definition with ReportViewer 2010 (SQL Server 2008 r2), but failed.
After some research, I know it is easily to convert RDL 2005 to RDL 2010 by opening the report in Visual Studio, it did work as expected.
Is there a library or command line tool to convert RDL 2005 to RDL 2010?
I decided to rewrite the logic creating SSRS Report, basically it is translating business logic to a xml string.
BTW, I got this repository: dynamic-rdlc, it is much easier.

SSRS 2005 "The report element was not found" html showing when i try to open .rdl

I just started working with other developers. When they send .rdl files back to me and i try to open the file through visual studio 2005, it shows some raw html rather than the design view. The html says:
One or more errors encountered while loading the designer. The errors are listed below.
The Report element was not found.
How can i fix this?
For anyone who has the same problem, I figured it out:
The developers modified and saved using 'Report Builder'(v. 3.0). Report Builder 3.0 is designed to support SSRS 2008 R2 only and supports a new version of the RDL schema, which is not compatible with SSRS 2005. So, i had to use SQL Server 2008 R2 Reporting Services instead.

Is it possible to stop SSRS 2008 R2 from ugprading a 2005 RDL on first use?

We have a set of reports that were created using BIDS 2005 and we are trying to deploy these onto a 2008 R2 server. The problem we are coming across is that on first view of one of our reports SSRS 2008 R2 is looking to see if it can upgrade the report and all the subreports, this is causing the main report to be upgraded to 2008 but the subreport contains a third party Custom Report Item which will not allow the subreport to be upgraded. We would prefer it if the 2008 R2 did not try to upgrade any of the reports at all.
As you can see from this article: http://technet.microsoft.com/en-us/library/ms143674(v=sql.105).aspx
(Section : Upgrading a Report with Subreports)
Microsoft states that :
The main report can be upgraded but one or more subreports cannot be upgraded. The main report is processed by the SQL Server 2008 Reporting Services report processor, but the rendered report shows the message "Error: Subreport could not be processed" in the location where the subreport that could not be upgraded would appear.
This is clearly useless as we need to be able to see the subreport!
So my question is:
Can we force SSRS to always use the 2005 RDL files without automatically upgrading?
I think the easiest answer will be to edit the parent report in BIDS 2005 and add a CustomReportItem, maybe even with visibility set to false. This should force SSRS 2008R2 to flag the report as needing backwards compatibility.
Alternatively, this flag is stored somewhere in the database, but I'm not sure where. I don't have access to any 2005 reports running with that processing engine, so I can't go hunting.

Convert SSRS 2008 Templates to SSRS 2005

Does anyone know how to convert a template created in SSRS 2008 to be deployed to SSRS 2005 Server?
You cannot run a 2008 report on a 2005 server. I have heard that there are tools that exist to do the conversion, though. See this question.
You can't convert SSRS 2008 to 2005 as it is not backward compatible. There are tools available but those are also not able to convert with 100% accuracy.
Have you tried just uploading the RDL to your 2005 server? The RDL is just an xml file so if you're lucky 2005 server can read and execute the file normally- or perhaps any errors you may get will help you find out what you need to do.
I recently converted 2005 RDLs to 2008, and if i look at the DIFF between the two files it's rather large, so dont get your hopes up :(
Otherwise I have no experience with this.
Try converting 2008 RDL to 2005 RDL. You can find the specs in the following links:
The RDL spec for reporting services 2008 is available here:
http://download.microsoft.com/download/6/5/7/6575f1c8-4607-48d2-941d-c69622e11c32/RDL_spec_08.pdf
The spec for 2005 is available here:
http://download.microsoft.com/download/c/2/0/c2091a26-d7bf-4464-8535-dbc31fb45d3c/rdlNov05.pdf
Open your report in notepad and then change XML header.Replace 2008 with 2005.

In Reporting Services 2008 is there a replacement for Me.Value?

In some of our SQL Server Reporting Services reports we wrote for SQL 2005, we used the Me.Value in the hidden expression to determine if the cell should be shown. This worked fine with SSRS 2005 (even though it probably shouldn't have).
However, it no longer works with SSRS 2008. Is there an alternative (other than using the actual field) that we can use?
Edit: I need something that works in both SSRS 2005 & 2008 as these reports will be distributed to multiple places.
Have you tried using the Control?
Something like:
ReportItems!TextBox1.Value
ReportItems on MSDN