|
Now this project is not working. Microsoft.SqlServer.DAC does not support import/export anymore. From where to get the Microsoft.SqlSe rver.DAC dll which has import/export APIs?
var msg = this.BackupTriggerQueue.GetMes sage(TimeSpan.F romMinutes(10)) ; if (msg != null) { Trace.WriteLine ("Received backup trigger message.", "Information"); I always receive null in msg and the rest of the code never executes. Why queue is being used and from where the message will be added in it. I don't see that code.
I found a workaround, I simply removed the queue (uncomment/delete the part at the start of the while loop) and instead of sleeping 5 seconds, set the sleep to the period you want to wait between backups. One day in my case, so Thread.Sleep(10 00 * 60 * 60 * 24);