Cannot find the symmetric key 'PasswordFieldSymmetricKey', because it does not exist or you do not have permission.

I am setting up a test to allow columns of data to be encrypted using SQL Server 2005's native encryption.  I have been able to create the Database Master Key on my test database, the Certificate and the Symmetric Key.  Then I have attempted to open the Symmetric Key so I can use EncryptByKey to encrypt my data using the following commands in Management Studio logged in as a Windows Authenticated User:-

OPEN SYMMETRIC KEY PasswordFieldSymmetricKey
DECRYPTION BY CERTIFICATE PasswordFieldCertificate

and I get the following error:

Msg 15151, Level 16, State 1, Line 1
Cannot find the symmetric key 'PasswordFieldSymmetricKey', because it does not exist or you do not have permission.
cwruckAsked:
Who is Participating?
 
cwruckAuthor Commented:
Reseach revealed the same links to solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.