|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Yesterday @ 10:43 AM
Points: 15,
Visits: 119
|
|
Hello, I'm receiving the following error:
ALTER DATABASE command failed due to an invalid server connection string.
when I issue the command:
ALTER DATABASE DBName SET PARTNER = 'TCP://DCDRSQLv01.datacoremarketing.com\SQLMICH01:5022'; GO
Situation - I'm attempting to mirror from a default instance to a named instance. Each instance is running SQL 2012 SP1. Each server is in a different domain and I have configured logins and certificates to make it work properly. I've seen several posts indicating try the following:
- check that both servers can be pinged, name resolves and telnet succeeds to the configured port 5022. - confirm that mirroring is started and logins are granted permission. - restore database and transaction log with NORECOVERY option. - Confirm the database and instance are correct. - Attempt connection without the instance name. - Start the Browser service on all nodes.
None of these appear to be providing a different result except for the later which complains "network address cannot be reached" (note telnet to 5022 does work).
Any assistance is most appreciated. I'm out of ideas.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 12:37 PM
Points: 941,
Visits: 1,041
|
|
In the database mirroring endpoints do not specify the instance name. Should be http://servername.fqdn:port.
---
Mohit K. Gupta, MCITP: Database Administrator (2005), My Blog, Twitter: @SQLCAN. Microsoft FTE - SQL Server PFE
* Some time its the search that counts, not the finding... * I didn't think so, but if I was wrong, I was wrong. I'd rather do something, and make a mistake than be frightened and be doing nothing. 
How to ask for help .. Read Best Practices here.
|
|
|
|