Bypassing an error messaging involving SQL Server 2005 Alerts

Tags:
Alerts
Event ID 32042
SQL Server 2005
SQL Server 2005 Alerts
SQL Server alerts
SQL Server errors
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?
ASKED: October 24, 2008  4:38 PM
UPDATED: October 24, 2008  5:47 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following