SQL Server 2014 Service Broker does not activate the procedure that receives messages from the queue

落花浮王杯 提交于 2019-12-06 09:20:01

A shot in the dark. Try running this:

EXECUTE AS USER = 'dbo';

If this fails, then the database owner SID is invalid locally (happens frequently after a restore or file copy). The solution is trivial:

ALTER AUTHORIZATION ON DATABASE::<dbname> TO [sa];

If you still have problems then have a look at Understanding Queue Monitors. Look in sys.dm_broker_queue_monitors and see that 1) the queue is present and 2) the status is RECEIVES_OCCURING

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!