码迷,mamicode.com
首页 > 数据库 > 详细

Service Broker needs to access the master key in the database ‘BRM_TEST’. Error code:32. The master key has to exist and the service master key encryption is required.

时间:2016-07-23 15:04:01      阅读:280      评论:0      收藏:0      [点我收藏+]

标签:

Service Broker needs to access the master key in the database ‘BRM_TEST’. Error code:32. The master key has to exist and the service master key encryption is required.


 

日志错误:
Service Broker needs to access the master key in the database ‘BRM_TEST‘. Error code:32. The master key has to exist and the service master key encryption is required.

原因:
SqlDependency在清理服务,队列,存储过程时需要一个转换,这个转换需要数据库的master key去存储产生的会话key,虽没多大影响,但会产生错误日志。解决方法是创建一个key给他用。
CREATE MASTER KEY ENCRYPTION BY PASSWORD = ‘23987hxJ#KL95234nl0zBe‘;

Service Broker needs to access the master key in the database ‘BRM_TEST’. Error code:32. The master key has to exist and the service master key encryption is required.

标签:

原文地址:http://www.cnblogs.com/heqianjin/p/5698616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!