As part of a consolidation exercise, I've been asked to move a dynamics CRM installation.

I've searched online but could only find how to move the CRM DB and not the app/IIS site.

Has anybody got any experience moving just a Dynamics CRM IIS site? and could you please detail any instructions how to go about this?



It's not actually that difficult. The only annoying part is that you need to uninstall your original CRM server, to stop it from keeping a lock on your MSCRM_Config database.

  • Backup your MSCRM_Config and Organization_MSCRM databases.
  • Uninstall CRM from Server 1
  • Install CRM on Server 2
    • During Deployment Options, choose Existing deployment
    • Point towards your existing SQL Server

There is a technet article with a more thorough explanation available.
See step 11 in particular:

On the Specify Deployment Options page, if Setup detects an existing deployment, you can select whether you want to create a new deployment or connect to an existing deployment. In the Enter or select the name of the computer that is running SQL Server to use with the deployment box, type or select the instance of SQL Server that will be used to store the Microsoft Dynamics CRM database (MSCRM_CONFIG).

While the article says:

Only one deployment is supported for each instance of SQL Server.

You can easily work around this by renaming the MSCRM_Config database, and adjusting the relevant registry entries. Then installing a new instance with a new MSCRM_Config database on the same server.
But there are a lot of blogs and posts out there showing that this process can easily go wrong. If at all possible, test out your migration in a DEV environment first and avoid having two CRM servers installed on a single SQL Server.

  • Thank you Reaces, at the moment I can't uninstall the CRM as it is live. Would it be possible to make duplicates of both app and db? maybe clone and sysprep them and join to the domain under new alias' (adding host entries of the previous alias') – Z Holt Apr 21 '16 at 12:30
  • Don't bother cloning or sysprepping anything to be honest. Just install two new windows server. Install your favorite flavor of SQL Server, restore backups of the MSCRM_Config and Organization_MSCRM databases. Go to the other new server, install CRM and point it to the new SQL Server --> Profit. It'll be simpler and less prone to problems. And if you can afford the cost of the two new servers, you can leave all the old servers running until you're satisfied with the new environment. – Reaces Apr 21 '16 at 12:34
  • Brilliant! We're currently consolidating five sql servers onto one, and 15 app servers to three/four, so ill just do it straight to there. There'll be no conflicts having both run at the same time will there? – Z Holt Apr 21 '16 at 12:50
  • 1
    As long as you make sure the naming correctly reflects the current state, such as making sure that one of the CRM organizations listens to HoltDev and the other to HoltProd, everything should be fine. CRM lives in the database, keep those seperate and you're safe 99% of the time. – Reaces Apr 21 '16 at 12:52
  • Sorry to ask another question, will the app version need to be the same? – Z Holt Apr 22 '16 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.