Forums (RSS 2.0)" href="http://www.simple-talk.com/community/forums/rss.aspx?ForumID=-1&Mode=0" />
Click here to monitor SSC

Using and Monitoring SQL 2005 Query Notification

Last post 03-10-2010, 2:46 PM by billr578. 50 replies.
Page 4 of 4 (51 items)   < Previous 1 2 3 4
Sort Posts: Previous Next
  •  06-01-2009, 10:58 AM Post number 73615 in reply to post number 71217

    • wxp is not online. Last active: 06-01-2009, 1:37 PM wxp
    • Not Ranked
    • Joined on 05-28-2009
    • Level 1: Deep thought

    Answer

    Query Notifications run 'execute as owner' so if a database is owned by a domain account, query notifications fail in the event a domain control cannot be contacted



    Basically, change owner to SA to avoid the issue.

    See this writeup

    http://aspadvice.com/blogs/ssmith/archive/2006/11/06/SqlDependency-Issue-Resolved.aspx

  •  07-02-2009, 11:01 AM Post number 73934 in reply to post number 71217

    When sql server restarted

    When sql server got restarted sqldependency connectivity between db server and client code are being disconnected..

    so when the sevice is up when there is change in the sql dependency query on change event is not fired..


    Anyone can provide solution for this..Plz
  •  07-02-2009, 11:33 AM Post number 73936 in reply to post number 71217

    When sql server restarted

    When sql server got restarted sqldependency connectivity between db server and client code are being disconnected..

    so when the sevice is up when there is change in the sql dependency query on change event is not fired..


    Anyone can provide solution for this..Plz
  •  07-02-2009, 12:20 PM Post number 73938 in reply to post number 71217

    When sql server restarted

    When sql server got restarted sqldependency connectivity between db server and client code are being disconnected..

    so when the sevice is up when there is change in the sql dependency query on change event is not fired..


    Anyone can provide solution for this..Plz
  •  07-02-2009, 12:21 PM Post number 73939 in reply to post number 71217

    When sql server restarted

    When sql server got restarted sqldependency connectivity between db server and client code are being disconnected..

    so when the sevice is up when there is change in the sql dependency query on change event is not fired..


    Anyone can provide solution for this..Plz
  •  03-10-2010, 2:46 PM Post number 90224 in reply to post number 71217

    No Notifications

    Hi,

    Great article!

    I was wondering if you had any tips if I'm not seeing any query notification messages in SQL Profiler?

    I've set my app up following all of the steps above, but after inserting my data into the cache with a SqlCacheDependency, the cached data is never invalidated and removed so it can be fetched with the new values from the database.

    Thanks!

    -Bill
Page 4 of 4 (51 items)   < Previous 1 2 3 4
View as RSS news feed in XML