Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2369
  • Last Modified:

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.
0
cwruck
Asked:
cwruck
1 Solution
 
cwruckAuthor Commented:
Reseach revealed the same links to solution.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now