SQL Server 2005 Replication Subscription Expiring Warning

Posted by Aaron on Server Fault See other posts from Server Fault or by Aaron
Published on 2010-05-27T18:23:20Z Indexed on 2010/05/27 18:33 UTC
Read the original article Hit count: 173

Filed under:
|

This week one of my replication subscriptions expired because I wasn't getting any alerts saying that there was a login error (I've fixed those alerts and the error). What I'd like now is, in the case that this happens again, to be able to send an alert saying that a subscription is about to expire (ie, it will expire in 1 or 2 days). I have an alert set up for when a subscription expires, but this is after the fact. I've looked through sys.messages for any text that has "Expir" in it, but I haven't found an appropriate error code yet. Would anyone be able to point me in the right direction?

Thanks.

© Server Fault or respective owner

Related posts about sql-server

Related posts about alerts