Solved

SQL Service Master Key Encryption Help

Posted on 2014-04-20
8
1,021 Views
Last Modified: 2014-04-29
Hi Guys ,

I have some issue to generate key for my databases. in my understanding the Hierarchic works as follow:

service masterkey -> Database masterkey -> and then you can generate key to your databases.

In my case I see just the "service masterkey" I assume that I have to create the master databasekey to solve this issue. I used this command below:

USE <master>
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<Password>'

and I got this error:

Msg 33094, Level 16, State 1, Line 2
An error occurred during Service Master Key decryption


see attachment the key I have now.
masterkey.jpg
0
Comment
Question by:Moti Mashiah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
8 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 40011727
remember that the password that you use must adhere to the windows password standards on the machine that is running SQL..

so if windows requires a password that is x amount of characters and includes this and that, then the password you use in your statement must also follow those guidelines
0
 
LVL 1

Author Comment

by:Moti Mashiah
ID: 40011806
Yes , the password follow by the policy. I typed many other password all of them was by policy requirement and still it is the same issue.

Any other thought...
0
 
LVL 1

Author Comment

by:Moti Mashiah
ID: 40011807
let's say my policy says at least 6 characters and at least one capital.

soo

USE master
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'masterB4'

error I get:

 Msg 33094, Level 16, State 1, Line 2
An error occurred during Service Master Key decryption
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 1

Author Comment

by:Moti Mashiah
ID: 40012466
Please , anybody can help with the above.
0
 
LVL 1

Author Comment

by:Moti Mashiah
ID: 40012929
Thank You very much.
0
 
LVL 1

Accepted Solution

by:
Moti Mashiah earned 0 total points
ID: 40019988
Solved the issue recreated the database masterkay.
0
 
LVL 1

Author Closing Comment

by:Moti Mashiah
ID: 40029083
I solved the issue by myself.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question