How to: Identify the Report Schema Version

A report definition file includes a reference to the RDL namespace that specifies the version of the report definition schema that is used to validate the rdl file. When you open an .rdl file in Report Designer in Business Intelligence Development Studio, if the report was created for a previous namespace, Report Designer automatically creates a backup file, and upgrades the report to the current namespace. If you save the upgraded report definition, you have saved the converted .rdl file. For more information, see Upgrading Reports.

How to: Identify the RDL Schema Version of a Report

  • Open the report in an application such as Notepad or XML Notepad 2007 in which you can view the xml.

    The XML Report element specifies the schema namespace. For example, the following Report element specifies the namespace for Report Designer and the namespace for the report definition.

    <Report xmlns:rd=https://schemas.microsoft.com/SQLServer/reporting/reportdesigner 
    xmlns="https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition">
    

    The report definition namespace is specified by the following URL: https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition.

How to: Identify the RDL Schema Version of Report Designer

  1. Open a new Report Server project.

  2. On the Project menu, click Add New Item. The Add New Item dialog box opens.

  3. In the Templates pane, click Report.

  4. In Name, type a report name or accept the default.

  5. Click Add. Report Designer opens a new blank report in Design view.

  6. On the View menu, click Code. The report definition is displayed as an XML file.

    The XML Report element specifies the schema namespace. For example, the following Report element specifies the namespace for Report Designer and the namespace for the report definition.

    <Report xmlns:rd=https://schemas.microsoft.com/SQLServer/reporting/reportdesigner 
    xmlns="https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition">
    

    The report definition namespace is specified by the following URL: https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition.

How to: Identify the RDL Schema Version on the Report Server

  • In Report Manager, type the following URL: https://localhost/reportserver/reportdefinition.xsd

    The .xsd file opens in the browser.

    The XML schema element specifies the schema namespace. For example, the following schema element specifies three namespaces: the targetNamespace reference that is used internally by Visual Studio, the xsd reference for the schema itself (xsd), and the report definition reference. 

    <xsd:schema 
    targetNamespace="https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns="https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition" 
    elementFormDefault="qualified">
    

    The report definition namespace is specified by the following URL: https://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition