I have two reports in a report project that have somehow been updated to use the 2010 report defintion;
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition" ...>
However, all other reports in the project, including new reports added to the project use the 2008 definition;
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" ...>
How can i force this update across the other reports in the project?
=EDIT=
The Visual Studio 2012 compatibility chart specific to SQL Server Report Project says;
If you add a feature that’s specific to Visual Studio 2012, the report
schema is upgraded automatically and you can no longer open the
project in Visual Studio 2010 SP1.
Now i just need to figure out what a 2012 feature is...
One option is to add a Map (2012 feature) to the report, save it, then delete the Map, and save again. Note that adding the Map and deleting before saving will not enforce the upgrade.
In the report properties find InitialPageName an give it a value. InitialPageName is a 2010 feature, as well as the PageName property that can be set on various report elements, such as Tablix and Graph.
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.
I have old projects that use ReportViewer with the following schemas;
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition" and mlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition"
Now I'm using VS 2017.
I have installed the Microsoft Rdlc Report Designer for Visual Studio through Extensions and Update, so, when I open a rdlc that was created on 2008/01/reportdefinition it works fine and I can modify it without problem.
However if I open a rdlc created on 2010/01/reportdefinition the report designer request me convert the rdlc to the newer version of: xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition"
Can someone explain why this happens? And how I can get the 2010/01 version to behave like the 2008/01 rather than force me to upgrade.
I'm trying to create a report in SSRS (Visual Studio 2012) for Dynamics 2011 using fetchXML. I have downloaded and installed the Microsoft Dynamics CRM 2011 Report Authoring Extension (with SQL Server Data Tools support) but I cannot find the Microsoft Dynamics CRM Fetch Type when I try to create a report, please, does any one have any suggestions?
Probably you are trying to create the report in some already existed project, I had the same issue with VS2010 in that case.
To make Fetch XML data source be visible you must create new project in Visual Studio. If all installations were successful, you must be able to create project with Business Intelligence/Report Server Project template, than create new report and in Report Data window (if it not appears automatically - just click on any place on report, go to View menu and find Report Data window) right click on Datasets, than pick "Use a dataset embeded in my report", click "New..." button near Data source drop down and there you should see Microsoft Dynamics CRM Fetch connection type.
Have no possibility to test this with VS2012, hope this will help.
As far as I know the latest version of SQL is SQL 2012 and BIDS for it is done using VS2010. So answer is quite simple - you would not be able to build a report using VS2012, you will have to use VS2010.
You're missing the Report Authoring Extensions. Install these and you'll have the FetchXML in the list.
If you've upgraded to a later CRM version since this post, just search on that version of extension installer instead (2013/2015/2016).
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 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