Error message while implementing mirroring between two databases on separate servers

Tags:
Database mirroring
SQL Server databases
SQL Server errors
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)

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Chantal
    The database was in a recovery state, I ran a full restore with no recovery.
    10 pointsBadges:
    report
  • Colin Smith
    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.
    885 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following