Hi,
I am enabling SQL dependency in my database.
So far I have
USE MASTER ALTER DATABASE SMT_Web_API_Admin SET NEW_BROKER WITH ROLLBACK IMMEDIATE
Running
SELECT name, is_broker_enabled FROM sys.databases WHERE name = 'SMT_Web_API_Admin'
Gets: 1
Next I have ran this against both master and SMT_Web_API_Admin
GRANT SUBSCRIBE QUERY NOTIFICATIONS TO SMT_Web_API_User
When I try running
GRANT RECEIVE ON [Users] TO SMT_Web_API_User
Granted or revoked privilege RECEIVE is not compatible with object
I did this process once before but it was a while ago and can't remember how to do it. I know last time I got the table AspNet_SqlCacheTablesForChangeNotification which must get added when the failing SQL executes.
Please help if you can.
Thanks,
Dave.