Encryption keys in SQL Server dropped unexpectedly

In SQL Server 2008, I created some keys using syntax like this:
CREATE ASYMMETRIC KEY a1
WITH ALGORITHM = RSA_2048
ENCRYPTION BY PASSWORD= N'[password]';

CREATE SYMMETRIC KEY s1
WITH ALGORITHM = AES_256
ENCRYPTION BY ASYMMETRIC KEY a1

Everything was working fine with these keys.  Then I tried to use them a few days later, and they're no longer there.  I was then able to create new keys with the same names.  So obviously, the keys got dropped.  I thought that any key is supposed to be permanent, unless the key name begins with a "#" sign????  I did not issue any "begin transaction" commands either.  Do I need to "commit" in some way so that the key remains past my session?  How do I get the keys to be treated as permanent ones and to persist past the current session?
NewbisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NewbisAuthor Commented:
Nevermind.  The keys "disappeared" because when I booted back up, I was in the Master database.  The application was unable to use the keys for a different reason.  Once I changed back to the correct database, they were there.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

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.