Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


BACKUP CERTIFICATE error Msg 15466, Level 16, State 1, Line 2


BACKUP CERTIFICATE error Msg 15466, Level 16, State 1, Line 2

Author
Message
Eduardo Olivera
Eduardo Olivera
SSC-Enthusiastic
SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)

Group: General Forum Members
Points: 105 Visits: 363
I am receiving the following errror when trying to backup the certificate I just created.

Msg 15466, Level 16, State 1, Line 2

The statement is as follows:
-- Save the certificate to disk
BACKUP CERTIFICATE certname
TO FILE = 'C:\Temp\certname.cer'
WITH PRIVATE KEY (
FILE = 'C:Temp\certname.pvk',
ENCRYPTION BY PASSWORD = 'epwd',
DECRYPTION BY PASSWORD = 'dpwd'
)
GO

Searching through the web I have found entries referring to issues from encrypting databases to linked servers and referrences to this error happening because master was restored. In our case, master was not restored from any server, not even itself. I am using SQL 2005.

Thanks in advance for your assistance,
Eduardo
Eduardo Olivera
Eduardo Olivera
SSC-Enthusiastic
SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)SSC-Enthusiastic (105 reputation)

Group: General Forum Members
Points: 105 Visits: 363
Please ignore this message, I panicked too fast. It was just a password mismatch. :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search