Problem setting up SQL 2005 mirroring

Posted on 2009-04-01
Medium Priority
Last Modified: 2012-05-06

I'm setting up a mirror for my SQL Server. Since we don't use domains I used the Configure Security Wizard and changed the servers names by their IPs: on the Principal and on the Mirror. After backing up the database on the principal and restoring it on the mirror, leaving the mirror's db on the NORERECOVERY state I tried to start the mirroring but I get this error message:

The server TCP//: can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Server, Error: 1418).

I should mention that I checked the port 5022 for both server using netstat and telnet and they are opened and listening. On the SQL Server log this message is logged: An existing connection was forcibly closed by the remote host.

Also, I checked the mirror server and the database is with the PARTNER option on, so this tells me the principal connected and has done something but couldn't finish due to this problem I'm trying to figure out.

Any idea?

Thank you!
Question by:starusa
1 Comment
LVL 43

Accepted Solution

Eugene Z earned 1500 total points
ID: 24069201
make sure you installed fresh service pack for sql server 2005

you may need to use Certificates :


just in case
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Database Mirroring Setup in SQL Server 2005


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are some very powerful Dynamic Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a di…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question