This tip seems to be exactly what I need. Additionally, I applaud the style in which it is presented! However, when I attempt to follow the steps outlined in the tip, I encountered two issues. The second issue stopped my progress. Let me elaborate:
A) I started on Step 3. All previous steps were already done. The script executed without issue.
B) For Step 4, I copied the SQL and pasted it into a New Query. The script would not 'run' as listed in the tip. I discovered that if I preceded the listed script with USE <database_name> the script executed. I noted that the Step 3 script cited USE master. But I want to mirror a database named serverInfo, so I created:
USE serverInfo CREATE CERTIFICATE cslgsrvg_cert WITH SUBJECT = 'cslgsrvg certificate for database mirroring'
This script executed without error and I can 'see' the cert under serverInfo database [ SSMS: serverInfo/Security/Certificates ]
C) However (!) -- when I tried to execute Step 5, the script fails. I get following error:
Cannot find the object "cslgsrvg_cert" because it does not exist or you do not have permission
I am logged in as User with 'sa' permissions.
I cannot get past this point. How can I get back 'on track'? Your guidance would be appreciated.
gary b
Addendum: Please note that I had SQL database mirroring fully operational when both Principal *and* Mirror servers were in the same domain. But recent network changes required use of a different SQL server as the mirror -- and that server is in a different domain. Hence, my interest in mirroring across domains.