
Upgrading a Report with Custom Report Items
SQL Server 2005 Reporting Services reports might contain custom report items (CRIs) provided by third-party software vendors and installed by the system administrator on the report authoring computer and the report server. Reports that contain CRIs can be upgraded in the following ways:
-
A SQL Server 2005 Reporting Services report server is upgraded to a SQL Server 2008 Reporting Services report server. Published reports on the report server are automatically upgraded on first use.
-
A SQL Server 2005 Reporting Services report is uploaded to a SQL Server 2008 Reporting Services report server. The report is automatically upgraded on first use.
-
A SQL Server 2005 Reporting Services report is opened in Report Designer in Business Intelligence Development Studio. A backup copy of the original report is created. One of the following two cases occurs:
-
All CRIs in the report have no unsupported features. The CRIs are converted to report items in the new report definition schema, so the entire report is upgraded. If you save the file, it is saved in the current RDL namespace.
-
One or more CRIs in the report have unsupported features. A dialog box prompts the user whether to convert the CRIs are leave them unchanged.
For more information, see Opening a Report in Report Designer later in this topic.
For information about identifying the current RDL namespace for a report server, BI Development Studio, or a report, see How to: Identify the Report Schema Version.
Upgrading Reports on a Report Server
The first time a SQL Server 2005 Reporting Services report runs on a report server that has been upgraded to a SQL Server 2008 Reporting Services report server, the report is automatically upgraded to the current report definition namespace supported by the report server. The report could have existed on the report server before the upgrade, or the report could have been uploaded via Report Manager or published to the report server from Report Designer in SQL Server 2005 BI Development Studio.
The following table lists the upgrade action that is performed by the report server for specific types of CRIs in a report.
|
CRI type
|
Report Server upgrade action
|
|---|
|
Third-party CRIs
|
Upgrade not performed.
Processed by the SQL Server 2005 Reporting Services report processor.
|
|
Dundas 2005 Chart CRI with no unsupported features
|
Upgraded to the latest RDL schema. All Dundas 2005 Chart CRIs are converted to Sql Server 2008 Reporting Services chart data regions.
Processed by the SQL Server 2008 Reporting Services report processor.
|
|
Dundas 2005 Gauge CRI with no unsupported features
|
Upgraded to the latest RDL schema. All Dundas 2005 Gauge CRIs are converted to Sql Server 2008 Reporting Services gauge data regions.
Processed by the SQL Server 2008 Reporting Services report processor.
|
|
Dundas 2005 Chart CRI with unsupported features
|
Upgrade not performed.
Processed by the SQL Server 2005 Reporting Services report processor.
|
|
Dundas 2005 Gauge CRI with unsupported features
|
Upgrade not performed.
Processed by the SQL Server 2005 Reporting Services report processor.
|
Opening a Report with CRIs in Report Designer
When you open a SQL Server 2005 Reporting Services report with CRIs in Report Designer in SQL Server 2008 Business Intelligence Development Studio, the report will be upgraded to the new report definition schema. Depending on the CRIs contained in the report, one of the following actions will take place:
-
Third-party CRIs detected. If the version of the CRI that is installed on the report authoring computer is not compatible with the new RDL schema, the design surface shows a text box with a red X. You must contact your system administrator to install new versions of the CRI from third-party vendors that are compatible with the new RDL schema.
-
Dundas 2005 Chart or Gauge CRIs detected and all instances contain supported functionality. All Dundas 2005 Chart and Gauge CRIs are converted to the Reporting Services Chart and Gauge report items that you see on the Toolbox. These are known as native chart and gauge report items.
-
Dundas 2005 Chart or Gauge CRIs are detected and any instance has unsupported functionality. Unsupported functionality is described after this section. You can choose whether to convert all CRIs to native report items.
-
If you convert them, the report is upgraded to the new RDL schema and Dundas 2005 Chart and Gauge CRIs are converted to the corresponding native Chart and Gauge report items, but unsupported functionality is removed. In the rendered report, you might see differences in the way the CRI displays.
-
If you choose not to convert them, the report is upgraded to the new RDL schema but the CRIs are treated as third-party CRIs. You must work with the system administrator and the third-party vendors to install new CRIs that are compatible with the new report schema. If the new CRIs are not available, the report displays a text box with a red X in Report Designer.
Saving a report after it is upgraded in the report authoring environment is the only way to upgrade an existing report to the new report definition schema.
Unsupported Dundas 2005 Chart Custom Report Item Functionality
Unsupported functionality for Dundas 2005 Chart CRI includes the following features:
-
Annotations.
-
Custom legend items.
-
Custom attributes with the following names:
-
CUSTOM_CODE_CS
-
CUSTOM_CODE_VB
-
CUSTOM_CODE_COMPILED_ASSEMBLY
For example, if your .rdl file contains the following section, you will need to remove it before upgrading:
|
<CustomProperty>
<Name>CUSTOM_CODE_CS</Name>
<Value>dXNpWERwegfdfgiobxxl3bmc… </Value>
</CustomProperty> |
Unsupported Dundas 2005 Gauge Custom Report Item Functionality
Unsupported functionality for Dundas 2005 Gauge CRI includes the following features:
-
Numeric indicators.
-
State indicators.
-
Custom Images.