PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

使用SqlDependency后,数据库日志增长过快,并有错误 Service Br

原创
2016-06-07 15:42:28 1374浏览

日志 错误 : 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在清理服务,队列,存储过程时需要一个转



日志错误
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';


参考:http://enjoyasp.net/?p=2512

           http://rusanu.com/2007/11/10/when-it-rains-it-pours/

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。