DavidPike
Programmer
- Oct 9, 2007
- 18
I am using native asymmetric encryption with SQL Server Express. When I backup the DB on one server and move it to another I can access my encrypted data columns but only if I open the Master Key with the password every session. This does not occur if I restore to the original server, the columns are available without opening the master key by password. If I attempt to read encrypted data without opening the master key, after only opening the symmetric key, I get the following error: "Msg 15581, Level 16, State 3, Line 4 Please create a master key in the database or open the master key in the session before performing this operation." How do I get the restored DB (on a different sever) to give me access to the encrypted columns without opening the master key every session?