Last post Mar 08, 2018 03:09 AM by Brando ZWZ
Feb 24, 2018 06:19 PM|neoaguil17|LINK
I created a blank reportviewer in Visual Studio 2017 but after I added a control I received the error:
ReportProcessingException: The definition of this report is not valid or does not support this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or it may contain content that is not in
the correct format or that is not valid according to the Reporting Services schemas. Details: The report definition has an invalid destination namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' that can not be updated.
I don't know the configuration to avoid this error.
The unique solution was found in this link..
But I don't understand this behavior.
In other words... Visual Studio changed:
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
with this code after I edited the report:<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
Feb 26, 2018 08:04 AM|Brando ZWZ|LINK
As far as I know, we could change the sql report's target sql server version in the project's property as below:
Report project ----> Properties ----> general
Mar 02, 2018 11:51 PM|neoaguil17|LINK
The problem is that I don't have SQL SERVER DATA TOOLS since I only use ReportViewer. I use Visual Studio 2017 community
Mar 06, 2018 07:43 AM|Brando ZWZ|LINK
As far as I know, we could only change the rdlc definition is using the XML editor.
Since the report design view doesn't provide the way to change the version.
We could only change it by xml editor.
Mar 07, 2018 05:35 PM|neoaguil17|LINK
The goal is: What is the problem with the configuration in Visual Studio to avoid changing the rdlc each time that I edit the report?
This is a problem of Visual Studio.
Mar 08, 2018 03:09 AM|Brando ZWZ|LINK
Do you mean after you edited the RDL schema version to 2008 and save, the VS changed the version back to 2016?
As far as I know, each RDL schema version has its own xml format.
If you have changed the RDL schema version at first time and edit the RDL.
You couldn't change the RDL schema version after you have edited the RDL.
So if you designed the RDL in 2016, you couldn't changed the definition to 2008.