There are two kinds of Telerik Reporting versions -- major and minor. Major versions such as Q3 2007, Q1 2008, etc. can coexist simultaneously on the same machine. Minor versions are also known as Service Packs. There can be only one Service Pack installed per major version, i.e. if you had v Q1 2008 and a Service Pack is released (let's say Q1 2008 SP1) you will need to un-install version Q1 2008 and then install Q1 2008 SP1.
Upgrading to a Newer Version
- Uninstall the old version if you are installing a Service Pack, for example from Q1 2008 to Q1 2008 SP1. Even if you forget to remove the old version, when you start the installer of the Service Pack you will be prompted to do so.
- Install the new version of Telerik Reporting.
Auto Upgrade
Since Q2 2008, Telerik Reporting offers automatic upgrade for your report projects by using Telerik Upgrade Wizard. It is introduced as guide for the process of upgrading the projects and files of the current open solution to a newer version of Telerik Reporting. Make sure that before proceeding with the upgrade, you have the necessary access permissions to the solution folder and files. If the solution or some of its projects are under source control, make sure that the correct source control plug-in is active in Visual Studio and no files are exclusively checked-out by another user. Once you open a solution, the Upgrade Wizard would check what version of Telerik Reporting is used and if you have a newer one installed, it would offer to upgrade your application. Visual Studio would automatically popup the Upgrade Wizard on opening a solution and you can also manually start it from the Telerik Reporting Menu.
Manual Upgrade
For all projects that need to use the new version of Telerik Reporting:
Web Site project:
- In Solution Explorer, click the "Show All Files"
button.
- Delete all Telerik Reporting assemblies from the Bin
folder.
- From the References tab on the Web Site’s Property Pages
remove all references to Telerik Reporting assemblies. Remember the names of assemblies
that you delete.
- Add all needed references to the new version of Telerik Reporting assemblies. They
should be the same as the ones that you deleted in the previous step.
- Open your web.config file and make sure that you change all versions to the new one in the following
instances:
- <configSections> - this is where you can alter the rendering extensions attributes
- <httpHandlers> - this is where the ReportViewer registers its handler
- <assemblies> - the Reporting assemblies that are references in the web site
- Open your .aspx/.master pages and change the version of the ReportViewer in the Register directive
- Open all report resource files (each .resx file
appears under the respective report file) as XML. Locate all occurrences of a Telerik Reporting Assembly and update
the version number to the new one. Unlike the version name (Q1 2008) a
version number is a more technical identifier such as 2.5.8.414, for example.
- Restart Visual Studio.
- Rebuild all updated projects.
Class Library/Windows Forms/Web application project
- In Solution Explorer, click the "Show All Files" button.
- Open the "References" node and locate the references to the old
Telerik Reporting assemblies. In case you are installing a Service Pack you will notice that the Telerik Reporting assemblies
have an yellow exclamation mark next to them, meaning that they cannot be located. That is because you
have uninstalled the version that they belong to and is normal.
- Select the old assemblies that you located in Step 3 and hit delete
to remove them. Remember the names of assemblies that you delete.
- Right-click on the "References" node and select "Add Reference".
- Add all needed references to the new version of Telerik Reporting assemblies. They should
be the same as the ones that you deleted earlier.
- Now they should appear in the "References" node without yellow exclamation marks, meaning
that they are valid.
- Open your web.config/app.config file and make sure that you change all versions to the
new one in the following instances:
- <configSections> - this is where you can alter the rendering extensions attributes
- <httpHandlers> - this is where the ReportViewer registers its handler
- <assemblies> - the Reporting assemblies that are references in the web site
- Open your .aspx/.master pages (for web apps only) and change the version of the ReportViewer in the Register directive
- Open all report resource files (each .resx file appears under the
respective report file) as XML. Locate all occurrences of a Telerik Reporting Assembly and update the version
number to the new one. Unlike the version name (Q1 2008) a version number is a more
technical identifier such as 2.5.8.414, for example.
- Restart Visual Studio.
- Rebuild all updated projects.