Upgrade from CRM 2015 to CRM 2016
Upgrade from CRM 2015 to CRM 2016 On premise
Yesterday was one of those days that i really like to have, i know, sometimes can be really frustrating because of some problems you have to go trough when performing an upgrade.
I have performed many upgrades since CRM v1.2 and it is always a challenge, for more tests in other environments, when it is to Production, something new will happen, yesterday was not exception.
In a virtual machine just performed the Upgrade, it was really quick and no trouble.
As planned, after hours we just performed the Upgrade in Production with all the scenarios covered in our checklist, almost in the end of the Upgrade, it was on the same step for almost 1 hour (Enabling Read Committed Snapshot Isolation for organization).
After some investigation about what could be the cause of that, my colleague just killed the process in the SQL Server. Than it appeared on the CRM Setup screen a message that was more clear to us, "The operation cannot be performed on database "XPTO_MSCRM" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.".
At that moment, we understood why the setup didn’t go from the same step for that long, my question in here is: Why the setup didn’t throw an exception before? It was necessary kill the process that was performing that action in the SQL Server.
So, we just removed the database mirroring, and the setup finished successfully.
Hope it helps.