[英]An error occurred during Service Master Key decryption
I am relatively new to SQL so will try explain as best I can. 我对SQL比较陌生,因此将尽我所能进行解释。
All servers are SQL Server 2012 所有服务器均为SQL Server 2012
I currently have a database which has two Linked Servers to access two other databases. 我目前有一个具有两个链接服务器的数据库,可以访问其他两个数据库。 From these 3 databases I have setup 5 view which are referenced in a stored procedure.
从这3个数据库中,我设置了5个视图,这些视图在存储过程中被引用。
When trying to run the stored procedure it was failing, I opened the procedure and tried to run it manually to see what the issue was and received the below error: 尝试运行存储过程失败时,我打开了该过程并尝试手动运行它以查看问题所在,并收到以下错误:
Msg 33094, Level 16, State 1, Line 16
An error occurred during Service Master Key decryption
I then tried breaking it down and found that I was receiving this error when trying to reference the views that where using the Linked Servers. 然后,我尝试将其分解,并发现在尝试引用使用链接服务器的视图时收到此错误。
I tried simple selecting the top 1000 rows of these views and strangely enough it will return the values 1 out of 5 times and give the above error the rest of the time. 我尝试简单地选择这些视图的前1000行,但奇怪的是,它将在5次中返回值1,并在其余时间内给出上述错误。
I've tried Googling the issue but a lot of the issue are referenced when a database has been restored or moved, nothing of the sort has happened with mine. 我已经尝试使用Google搜索这个问题,但是在恢复或移动数据库时会引用很多问题,而我的情况却没有发生。
it was suggested to run the below to see if there was an error and I've had none. 建议运行以下命令查看是否有错误,而我没有任何错误。
ALTER SERVICE MASTER KEY REGENERATE
Can anyone suggest what I should perhaps look at, I'm a little lost. 谁能建议我应该看的东西,我有点迷茫。
Thanks in advance for any help or advice. 在此先感谢您的帮助或建议。
We have the same setup and had exactly the same problem on some of our servers and we narrowed it down to a recent Windows patch, KB3004375 (" Update to improve Windows command-line auditing "). 我们具有相同的设置,并且在某些服务器上存在完全相同的问题,并且将其范围缩小到最近的Windows补丁KB3004375 (“ 更新以改进Windows命令行审核 ”)。 After removing this security patch, there are no more errors.
删除此安全修补程序后,没有更多错误。
I can elaborate more if needed. 如果需要,我可以详细说明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.