Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

SYMMETRIC KEY with SQL Always ON

$
0
0
I am using SQL 2012 with Always on. It has one Primary and one replica. Recently we created SYMMETRIC KEY
in user DB. Once Database failed over to other node, it is throwing following error:-

Msg 15581, Level 16, State 7, Procedure ps_TAOTextResults, Line 13
Please create a master key in the database or open the master key in the session before performing this operation.
Msg 15315, Level 16, State 1, Procedure ps_TAOTextResults, Line 32
The key 'XYZ_SymKey' is not open. Please open the key before using it.

We can open SYMMETRIC KEY but I think it opens for a particular session; once we close the session again we are getting same error message.How to resolve the issue? How to make sure once database will fail over to other node, it won’t create any problem. 


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>