Error message while implementing mirroring between two databases on separate servers
I've attempted to implement mirroring between two databases on separate servers. The database names are exactly the same but I've been receiving the following error: Alter failed for Database 'databasename'. (Microsoft.SQLServer.Smo) An exception occurredwhile executing a Transact-SQL statement or batch. (Micrsoft.SqlServer.ConnectionInfo) The remote copy of database "databasename" does not exist. Check the database name and reissue the command. (Microsoft SQL Server, Error:1448)

Software/Hardware used:
ASKED: November 24, 2008  7:57 PM
UPDATED: November 25, 2008  10:10 PM

Answer Wiki:
What state in the database on the remote side in? It should be in the restoring state after you are restored the backup from the primary server. If it isn't take another full backup and restore it with the NORECOVERY flag so that it stays in the restoring state.
Last Wiki Answer Submitted:  November 25, 2008  5:11 am  by  Denny Cherry   64,505 pts.
All Answer Wiki Contributors:  Denny Cherry   64,505 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The database was in a recovery state, I ran a full restore with no recovery.

 10 pts.

 

Have you verified that you can connect to the remote sql server instance? Check ports and verify that you can communicate from one to the other. Also are you running transaction log dumps on the primary? If so then be sure to apply all of those dumps before setting up the mirror.

 845 pts.