Link to home
Start Free TrialLog in
Avatar of Rugsdirect
Rugsdirect

asked on

SQL Server 2005 Encryption Permissions

I have encryption setup on one of my tables in sql server 2005.  I have the database encryption key created, certificate created, and the symmetric key created.  The data has been encrypted with the symmetric key.  My problem is that when running the stored proc off of my website that accesses this table, thus decrypting the column, i get the following error message:

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

'SymUserKey' is the name of my symmetric key.  I can run this same stored proc in MS SQL Server Management Studio without any problems.  Decrypting the data and everything.  I am sure it has something to do with permissions but i have tried everything i can think of with giving access to this stored proc.   Any help would be appreciated.
Thanks,
Billy
ASKER CERTIFIED SOLUTION
Avatar of nakul_vachhrajani
nakul_vachhrajani

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial