
This covers moving a native mode Reporting Services install (2008, 2008 R2, 2012 or 2014) to a new SQL Server 2016 Reporting Services instance, instead of upgrading in place. I migrate rather than upgrade when the hardware is changing, when the server can’t be down for long, or when something blocks an in-place upgrade.
The short version: back everything up, install SSRS 2016 without configuring it, move the two report databases, point the new server at them, restore the encryption key, and test.
Don’t rename the databases
The ReportServer and ReportServerTempDB names are baked into the report server’s stored procedures when the databases are created. Rename either one and the procedures fail. Keep the names exactly as they are.
If you really need a different name, create a new report server database and republish the content into it (with RS.exe scripts, or by hand for a small number of reports). Expect to recreate subscriptions, schedules, role assignments and properties, and to lose report history and the execution log.
Before you start
Run Upgrade Advisor (or the Data Migration Assistant) against the old server, especially one you didn’t build yourself. It finds custom settings that won’t carry over.
Things that changed from 2008 onwards and catch people out:
- IIS is no longer needed. Reporting Services has its own web service, so URLs and authentication are set up differently.
- The web service, Report Manager and the Windows service are now one service, running under one account, with all settings in RSReportServer.config. RSWebApplication.config is obsolete.
- ISAPI filters, IP address restrictions and client SSL certificates are no longer supported. If the old server relies on any of them, redesign that part first. For IP restrictions, a firewall is the usual replacement.
- The only supported authentication types are NTLM, Kerberos, Negotiate and Basic. Anonymous, Digest and .NET Passport have gone, so update <AuthenticationTypes> in RSReportServer.config if needed.
- Custom style sheets aren’t migrated. Copy them across by hand.
Step 1: Back everything up
- The encryption key. This is the one that matters most. Back it up in Reporting Services Configuration Manager (Encryption Keys, then Backup) and keep the password safe. Without it, every stored data source credential is lost.
- The ReportServer and ReportServerTempDB databases, with a normal SQL Server backup.
- The configuration files: RSReportServer.config, RSWebApplication.config, RSSrvPolicy.config, RSMgrPolicy.config, ReportingServicesService.exe.config, the web.config files for Report Server and Report Manager, and machine.config if it was changed for SSRS.
Step 2: Install SSRS 2016 without configuring it
Install Reporting Services in files-only mode: choose “Install but do not configure” in setup, or use the FilesOnly option from the command line. On the same hardware as the old install, you may need to install it as a named instance.
Step 3: Move the report databases
Skip this step if the databases stay on the same Database Engine instance.
- The new host can be SQL Server 2008 up to 2016.
- If that instance has never hosted a report server database, create the RSExecRole in master and msdb first.
- Back up and restore both databases together. They depend on each other. Don’t just copy the files, because the security settings won’t come with them.
- Don’t move the SQL Agent jobs for report schedules. The report server recreates them itself.
Step 4: Redeploy any custom assemblies
Skip this if you don’t use custom report items, extensions or assemblies.
- Custom rendering extensions written before 2008 have to be rewritten against the Rendering Object Model. The HTML 3.2 and HTML OWC renderers are gone. Most other custom assemblies work without recompiling.
- Copy them into the new bin folders. For a default instance, that’s \Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\bin.
- Add their entries back into the configuration files.
Step 5: Configure the new report server
If the old server was part of a scale-out deployment, take every node offline and migrate them one at a time. The first server to connect upgrades the database schema, and any old node still online will start throwing rsInvalidReportServerDatabase errors.
If the restored database came from a scale-out deployment, clear the old keys first: back up the symmetric key, then delete every row from the Keys table in the ReportServer database using Management Studio. Configuration Manager can’t do this. If you skip it, the new server tries to start in scale-out mode.
Then, in Reporting Services Configuration Manager:
- Set the URLs for the web service and Report Manager.
- Under Database, choose Change Database and select the restored ReportServer database. The service restarts and upgrades the database to the 2016 schema when it connects.
- Under Encryption Keys, restore the key you backed up in Step 1, so the stored connection strings and credentials can be read again.
- On a new server, open the report server’s port (80 by default) in Windows Firewall.
- If you want to manage it locally on the server, set up local administration for Report Manager.
Step 6: Copy custom settings back into RSReportServer.config
Compare the old config files with the new RSReportServer.config and carry over anything that was customised. The usual ones are email delivery settings, device information settings for rendering extensions, and Report Manager running on a remote instance.
File and registry permissions are handled by one Windows group, named SQLServerReportServerUser$<computer_name>$<instance_name>. Add any custom permissions to that group.
Step 7: Test it
- Open the Report Server and Report Manager URLs in a browser.
- Run a selection of reports and check the data is what you expect.
- Open the shared data sources and confirm the connection details and stored credentials are still there.
Existing reports run on the 2016 engine without being converted. They’re only upgraded to the new report definition format if you open and save them in a newer designer.
Step 8: Tidy up
Once everyone is happy, uninstall the old Reporting Services. Uninstalling leaves these behind, so remove them by hand if they’re no longer needed:
- the old report server databases
- the RSExecRole
- the old service accounts
- the IIS application pool and virtual directories
- the old log files
Remove IIS too if nothing else on the server uses it.
From my SQL Server DBA handbook.