SqlDependency code listening to inserts/update in a table from windows service
问题 my SqlDependency code is listening to inserts/update in a table from windows service and when i start the service then it works for next 2/3 days and after that it stopped working. here i am pasting my full code. public partial class PartIndexer : ServiceBase { static string connectionString = "MyConnection String;Pooling=true;Connect Timeout=20;"; SqlDependency dep; public PartIndexer() { InitializeComponent(); } #region OnStart protected override void OnStart(string[] args) { System.Data