After upgrading SQL Server 2014 to SQL Server 2016 (both Enterprise editions), I can't start mirror.
This works normally on SQL Server 2014.
After I restore (WITH NORECOVERY)
mirror database with full and log backups of primary database I normally run configure setup
.
After click on Start mirror
I get this error:
Database 'DatabaseName' cannot be open. It is in the middle of a restore. (Microsoft SQL Server, Error:927)
I had the same error message (and was using SSMS 2016 GUI), however the problem was solved by ensuring that all three instances (principal, mirror and witness) were running as the same (windows) service account.