0

I'm new in signalr, and reading and surfing the net I found this incredible (I think) tutorial http://techbrij.com/database-change-notifications-asp-net-signalr-sqldependency. But I have a problem, when I run the statement GRANT SUBSCRIBE QUERY NOTIFICATIONS TO "Domain\ASPNET" replacing Domain\ASPNET with my Windows credentials, the SQL management threw this error:

Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself.

There is something wrong in my procedure? There is any other way to implement this push from the database ?

mlibby
  • 6,567
  • 1
  • 32
  • 41

2 Answers2

0

Looking at the error message you posted, I'd guess you are logged into SQL Manager using the same credentials you are attempting to GRANT to.

mlibby
  • 6,567
  • 1
  • 32
  • 41
0
GRANT SUBSCRIBE QUERY NOTIFICATIONS TO YourUserName;

Use your login username insted of YourName

suraj mahajan
  • 832
  • 1
  • 12
  • 21