"服务主密钥解密期间发生错误"在尝试创建SSIS目录时

时间:2014-10-29 18:03:56

标签: ssis sql-server-2012

我试图在我的SQL 2012开发人员实例上遵循Create the SSIS Catalog指南,并且我收到了以下错误:

===================================

An error occurred during Service Master Key decryption
Changed database context to 'SSISDB'. (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.5058&EvtSrc=MSSQLServer&EvtID=33094&LinkId=20476

------------------------------
Server Name: .\SQL2012
Error Number: 33094
Severity: 16
State: 1
Line Number: 1


------------------------------
Program Location:

   at Microsoft.SqlServer.Management.IntegrationServices.Catalog.CreateMasterKey(IntegrationServices store)
   at Microsoft.SqlServer.Management.IntegrationServices.Catalog.Create(Boolean execSsisStartup)
   at Microsoft.SqlServer.IntegrationServices.UITasks.CreateObjectController.CreateObject()
   at Microsoft.SqlServer.IntegrationServices.UITasks.CreateObjectController.Perform(ITaskExecutionContext taskExecutionContext)
   at Microsoft.SqlServer.Management.TaskForms.TaskExecutionManager.ExecuteTaskSequence(ISfcScriptCollector collector)

我无法通过搜索或任何有关如何解决此问题的指导来解决此问题。

1 个答案:

答案 0 :(得分:2)

当我检查注册表as this post advised时,我发现Security密钥下没有任何值:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<Instance Name>\Security

当我检查成功创建SSIS目录的机器时,它有Entropy的条目。

所以我根据SSMS中的帖子建议执行以下命令:

ALTER SERVICE MASTER KEY FORCE REGENERATE;

当我刷新时,我现在有一个Entropy条目,并且SSIS目录的创建成功。