x

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][1]
more ▼

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

ramesh 1 gravatar image

ramesh 1
2.2k 63 67 69

(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][1] 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.

[1]: http://msdn.microsoft.com/en-us/library/ms190941(SQL.90).aspx
more ▼

answered Dec 08, 2010 at 04:55 AM

WilliamD gravatar image

WilliamD
25.9k 17 19 41

(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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

SQL Server Central

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

Topics:

x1945
x57

asked: Dec 08, 2010 at 04:28 AM

Seen: 1206 times

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