Trying to setup Database mirroring between two servers have issues, getting the error message below:
An error occurred while starting mirroring.
------------------------------
ADDITIONAL INFORMATION:
Alter failed for Database 'TestingMirrorCanDelete'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=12.0.2000.8+((SQL14_RTM).140220-1752)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+Database&LinkId=20476
------------------------------
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Neither the partner nor the witness server instance for database "TestingMirrorCanDelete" is available. Reissue the command when at least one of the instances becomes available. (Microsoft SQL Server, Error: 1431)
Quick background:
Using SQL 2012
Used the wizard to setup the endpoints (not using a Witness server). Did a backup and restored on Mirror with No Recovery
Not referencing the Service accounts for Principal/Mirror instances, since the production environment is setup using various local/built in accounts
Opened Port 5022 used by the endpoints at the Windows Firewall on both servers and used Port Query to test. Did not think that I would be running into so many issues.
Thanks
Barry