Problems setting up database mirroring on sql server 2005

hi team, need help facing error while data mirroring .

  1. fire wall disabled on both the server

  2. both the sql services and agent services are running with the same account(admin)

  3. port are working , confirmed by using netstat -t command

  4. configuration,db name, os, sql server all are same

    alter database test set partner = 'TCP:/mirroed:5023' on primary server

    error text

more ▼

asked Dec 08, 2010 at 04:28 AM in Default

avatar image

ramesh 1
2.2k 66 69 73

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Please check that the settings are correct, especially in the ALTER DATABASE command.

The one you supplied has a typo, so if you copied that from SSMS you may have the solution already:

it has to be TCP://<system address>:<port> You have one slash missing and the word mirrored is written wrong (this may not be a problem if the partner is spelled that way though).

Please also make sure that the system address exists. Normally you would use a fully qualified domain name or IP address to make sure you are connecting to the right partner.

Take a look at Setting Up Database Mirroring and make sure you have all pre-requisites setup, then double check spellings etc. It will probably be something really obvious that you just aren't seeing.

more ▼

answered Dec 08, 2010 at 04:55 AM

avatar image

26.2k 18 38 48

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Dec 08, 2010 at 04:28 AM

Seen: 2815 times

Last Updated: Dec 08, 2010 at 04:56 AM

Copyright 2018 Redgate Software. Privacy Policy