Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


  • We have SQL Server Management Studio 2005 SP3 on all of our Servers.
  • We have 1 Main Server, and 1 Secondary Server that has the database from the Main Server being replicated on it. (If it matters, this is a "Pull" replication instead of a "Push" replication)

Question: Is there a way to use the Alerting tools in SSMS 2005 to start a Windows Service on the Secondary Server in the event of Replication Failure?

If not, is this feature available in a newer version of SSMS?

share|improve this question
up vote 2 down vote accepted

As a result of the replication job failure, you could respond with an xp_cmdshell statement to perform a Windows function:

xp_cmdshell needs to be enabled in your Surface Area config:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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