How Do I Move CRM 4.0 Reports To A New SQL Report Server?

I don’t know that you would need to move reports yet, now that you are on Microsoft Dynamics CRM 4.0 – but may come up some day.  So – how do you do it?  I’ll do my best to tell you how.

With CRM 3.0, you may have needed to move reports off the CRM server – or just move them to a new SQL Reporting Services box (maybe you upgraded to SQL 2005 and SRS 2005?).  To accomplish this, you would typically:

1.       Run DownloadReports.exe, to download the reports to .rdl files

2.       Change the Report Server URL

a.       Launch Deployment Manager on the CRM 3.0 Server

b.      Choose “Server Manager”

c.       Right-click the CRM Server, choose “Specify Report Server URL”

d.      Enter url of the new report server (http://servername/reportserver)

3.       Run PublishReports.exe, to publish the .rdl files to the new SQL Report Server

a.       DownloadReports.exe and PublishReports.exe are typically located in \Program Files\Microsoft CRM\Report

4.       An alternative way to change the Report Server URL is to change the SQLRSServerURL value under HKLM\Software\Microsoft\MSCRM, use Regedit

5.       You may need to do an IISReset for the change to take effect

Not too terrible of a process.  But it’s getting easier with 4.0.  To change the report server with CRM 4.0!  For out-of-the-box reports, they are now stored in the MSCRM database along with the Reportserver database.  So – if you want to change the report server with CRM 4.0:

1.        Disable the organization in Deployment Manager, that you want to change the report server for

2.       Right-click disabled org, choose “Edit organization”

3.       Modify the Report Server URL

a.       There will be a diagnostic process, that will determine if reports can be moved to the new URL

b.      If the diags pass, the reports will be published to the new report server

c.       Note – there is a similar process for moving CRM databases to a new SQL Server

4.       Re-enable the organization

Now – this will not work for custom reports.  Microsoft is working on a tool that will be similar to the 3.0 DownloadReports.exe tool.  Until then – you can manually download them from the user interface, then publish them after you have made the changes note above.

This post is as-is, no warranties.  Try it in Dev first.  But it worked for me!


Posted 01-17-2008 10:51 PM by Tedh

Comments

Erik @ CWR Mobility BV wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 04-09-2008 12:25 PM

Superb post!

I didn't know where to find this, but this definitely does the trick!

For some reason during the upgrade from 3.0 to 4.0 the reports did not convert correctly.

I removed the reports from the reports server completly, pointed to the reportserver URL and they were added automatically.

Regards,

Erik

castorsoft wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 04-09-2008 9:53 PM
Steven wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 06-12-2008 4:23 PM

Do you know if it is necessary to install the SSRS connector as well afterwards?

Thanks!

Tedh wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 11-10-2008 1:14 PM

Hi Steven.  Sorry for the delay, and you probably already figured out that yes - if you move to a new SQL Report Server, you will need to install the SSRS Connector on that machine.

Koen wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 11-26-2008 10:37 AM

Do you know of any issues if you would keep your CRM database in SQL 2005 but link the CRM reporterver to SQL 2008 reportserver on an other machine?

Tedh wrote re: How Do I Move CRM 4.0 Reports To A New SQL Report Server?
on 12-04-2008 3:23 PM

Hi Koen.  I have not attempted to do this.  I wouldn't "think" there would be any issues with this scenario, but have not confirmed.

Are you only running SQL Reporting Services 2008, or do you have a SQL 2008 Server as well?  Just curious why you wouldn't move the CRM databases to SQL 2008 as well?

Frederick Chapleau CRM weBlog wrote Republishing reports in CRM
on 05-28-2009 7:43 AM

Excellent article on how to publish reports: blogs.inetium.com/.../how

Inetium, LLC. Site Information