I made a report in Visual studio 2017 that produce an error in VS 2013 and VS 2015:
Error 119 The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded. F:\Projects\Win Applications\ERP\ERP\DiERP\bin\Debug\Reports\Inventory\Ar280.rdlc DiERP
so is there a way to make reports in VS 2017 compatible with earlier versions of VS.
I opened the file in a text editor and changed: http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition
to
http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition
but it doesn't work in VS:
One or more errors encountered while loading the designer. The errors are listed below.
Deserialization failed: The element 'Report' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' has invalid child element 'ReportSections' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'. List of possible elements expected: 'Description, Author, AutoRefresh, DataSources, DataSets, Body, ReportParameters, Code, Width, Page, EmbeddedImages, Language, CodeModules, Classes, CustomProperties, Variables, DeferVariableEvaluation, ConsumeContainerWhitespace, DataTransform, DataSchema, DataElementName, DataElementStyle' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' as well as any element in namespace '##other'. Line 115, position 4.