I am new to SQL Server alerts, and I am trying to setup an alert That will run a job and send a notification, based on severity level.

In order to test if the alert works correctly I have downloaded a sample corrupted database from MSDN Blogs, and I have restored the database and issued a query against the database which failed with error 824 and level 24.

But although the error is a severe error and was logged to both the SQL log and the Windows Application Log nothing seemed to work, I have even tested with both an alert on the specific database and on all databases. (I have even setup alerts on all other levels from 19 and above just to confirm that nothing is happening.)

However an alert based on error number 824 did work, as well as an alert based on the performance counter's Sql Error counter did worked correctly.

Any suggestions?

1 Answer 1


The SQL Agent may need to be restarted to pick up the configuration changes.

  • Interesting that all other alerts did worked, it might be just that sometimes we have to restart services in order for them to function properly
    – yoel halb
    Dec 8, 2011 at 15:22
  • Interesting I had now again the same thing in that I have added two alerts one for the specific database and another for all database, and the alert for all databases worked but not the alert for the specific database until I restarted SQL agent after which it worked properly
    – yoel halb
    Dec 8, 2011 at 15:40
  • I have never heard of having to restart the Agent service every time a configuration change is made. Are you sure this is the right fix for your problem? This was issues in SQL 2005 in some instances of using alert type: support.microsoft.com/kb/926612
    – user507
    Dec 8, 2011 at 19:41
  • This turned out to solve the problem, and as such for every change to alerts that I am doing I make sure to restart it as I am not looking for trouble
    – yoel halb
    Dec 9, 2011 at 16:43
  • @Shawn it is most probably a bug and it would have to be reported to Microsoft, however the feedback button on SQL Server's connect page takes me nowhere, this is besides that I don't believe that they will be able to repro it
    – yoel halb
    Dec 9, 2011 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.