We have migrated our application and reports from SQL 2005 to SQL 2008 R2. After testing, we found that Excel format of the report in both SSRS 2005 & SSRS 2008 R2 is different.
We have fixed this in the RDL file and uploaded that file in SSRS 2008. So, from that day/time onwards the format is correct. But when we download the history reports from SSRS 2008, they are still showing report in older format.
Is there any way we can point history reports to refer latest RDL file so that older reports would appear in proper format.
Thanks,
It sounds like you are referring to the report snapshots history. When report snapshots are created they include the report definition as it was at the time the snapshot was generated, and so will always use this definition. This cannot be changed, so there is no way to alter the format of historical snapshots from before you changed the report definition.
More information: https://msdn.microsoft.com/en-us/ms156325.aspx
Related
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.
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.
I am new for RDCL 2008 format. I used RDLC 2005 format for a while and it works fine. However, recently, my company is changing to RDLC 2008 format from RDLC 2005 format. The original report rendering engine crashed. Because in RDLC 2008 format, the connection string and the query string became <ConnectString>/* Local Connection */</ConnectString> and <CommandText>/* Local Query */</CommandText>
Does any one know how change from
<CommandText>/* Local Query */</CommandText>
to something like <CommandText>select * from US001_USER</CommandText>?
Thanks!
I found the solution myself.
Actually, I was using VS 2010 to create RDLC 2010 format file. However if I use VS 2008 (with SSRS 10.0) to create RDL 2010 format file, the ConnectString and CommandText will be filled. RDL 2010 file is just simply changed to RDLC 2010 file by renaming the file.
You can also use Report Builder 2.0.
Report Builder 3.0 uses RDLC2010 which is only usable on a report server, not embedded using reportviewer control. MS promises a updated viewer.
Also see the GotReportViewer.com - They have a source for a program to read all the info... Bottom Right of page.
I have a report that has ~1k columns and ~17k rows and I'm trying to render it to Excel 2007 with SSRS 2008 R2 Nov CTP.
SSRS team members have mentioned in multiple places that Excel 2007 format is included in 2008 R2, for instance:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/69545568-73cb-4f4c-8f35-44472ba6d013
Now, it's certainly possible that it just hasn't made it into the product yet (at least as of Nov CTP), and if that's the case, that would be good to know, too (and ideally when it would be in the product).
The repro report and data (along with attempts showing the existing interface still does Excel 2003 format) are attached to the bottom of this blog post, FWIW:
http://cid-456117cf53a42144.spaces.live.com/default.aspx
Unfortunately, it looks like I was misinterpreting Jin Chen's answer ("Here, has good news, we have improved the ability in SQL Server Reporting Services 2008 R2") - there was an answer later by another member of SSRS that states that 2008 R2 will not support xlsx / Excel 2007 output:
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/87cfd5d4-ea3c-4250-aab8-a1a3dffa3241
As far as a full featured Excel 2007 xlsx renderer, it is definitely on our list to build but it will be post SSRS 2008 R2.
So, maybe it was in R2 but got cut, but either way, it doesn't appear to be an option now.
For those who might be in a similar situation that run across this question on SO, if programmatically generated the spreadsheet is an option for you, I would recommend EPPlus.
http://epplus.codeplex.com/
Excel 2007-2010 format (Office Open XML) is the default rendering format in SQL Server 2012
http://technet.microsoft.com/en-us/library/dd255234.aspx
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