Bypassing an error messaging involving SQL Server 2005 Alerts
I have a question regarding how to monitor a mirrored pair using SQL Server 2005 Alerts. Specifically, the question is on how to send an email to an operator via database mail to notify the operator of an error. The error Event ID is 32042, which occurs when the age of the unsent log exceeds the threshold. I want to send a notification whenever the threshold limit I have set up in the Mirroring Monitor are exceeded. I execute the following statement to ensure my message is logged: sp_alterMessage 32042, 'WITH_LOG', TRUE This is supposed to tell SQL that I want the system level alert to be logged so that SQL Agent can pick it up and send. The problem is that Microsoft has changed how sp_alterMessage works. Now in SQL Server 2005, it cannot change messages in sys.messages that have an ID less then 50,000. You get this message if you try: 'Cannot drop or alter a message with an ID less than 50,000.' So my question is: what have you done to get around this?

Software/Hardware used:
ASKED: October 24, 2008  4:38 PM
UPDATED: October 24, 2008  5:47 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _