ActiveReports Developer 7
Upgrading Reports
See Also Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > Upgrading Reports

Glossary Item Box

ActiveReports Developer 7 allows you to upgrade your reports from other versions of ActiveReports and Data Dynamics Reports.

Upgrading ActiveReports 6 and Data Dynamics Reports Projects

You can automatically update reports and corresponding reference assemblies using the ActiveReports Developer Upgrade tool, and then handle any additional errors in the code.

Important: Be sure to create a backup for your project before starting the upgrade process.

ShowTo upgrade project references and reports

  1. In Visual Studio, open an existing ActiveReports 6 or Data Dynamics Reports project that you want to upgrade.
  2. From the Visual Studio Tools menu, select Convert to ActiveReports 7.
  3. In the ActiveReports Developer Upgrade tool window that appears, you can see a list of report files to be converted.
  4. Click OK to upgrade the project.

Once the tool upgrades the report files, notice that all of the ActiveReports 6 or Data Dynamics Reports assemblies in the Solution Explorer are replaced with ActiveReports Developer assembly references.

ShowTo handle errors in code

The ActiveReports Developer Upgrade tool upgrades the reports and corresponding reference assemblies, but the upgraded assembly names break the code.

Note: The error messages in a just-upgraded project may seem a bit odd if the project retains some of the old references in memory. To work around this Visual Studio issue, you can close and reopen the project for more understandable error messages.
  1. With the upgraded project open in Visual Studio, from the View menu, select Error List to get the list of errors to be fixed in code.
  2. In the Error List window, double-click each error in turn to jump to the code where you can fix the error.

Examples of code that might break and how to fix it:

  • Update the Viewer control by replacing DataDynamics.ActiveReports.Viewer.Viewer with GrapeCity.ActiveReports.Viewer.Win.Viewer.
  • Replace existing property names with new property names. For example, MultiplePageCols property is changed to MultiPageCols.

See Also

©2014. ComponentOne, a division of GrapeCity. All rights reserved.