Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 5760

Upgrading from 2005 to 2008R2, how to move encryption

$
0
0

Hello All,

     I have a sql 2005 database on 2003, we are migrating this server over to 2008R2 as a clean install rather then an upgrade. I backuped up and moved over the databases as well as the logins and passwords. Everything works except one database that uses symmetric keys. I tried to create a master key for the database but it said one already existed. The symetic key already exists in the database, I can see it in SSMS. My question is how do I get the encryption working again. I have an ASP.NET application written on top of the database. It uses stored procedures in the database, they open the key as follows:

open

symmetrickey CP_Login_Keydecryptionbypassword='password'

my question is how do I get the encryption working again?


Viewing all articles
Browse latest Browse all 5760

Trending Articles



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