Take the 2-minute tour ×
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. It's 100% free, no registration required.

How do I remove the two Log Reader Agents with errors from the Replication Monitor?

As you can see, the job does not exist (Error message produced by right click > Properties on errored Log Agent Reader) - it has previously been deleted, but these two Log Reader Agents refuse to go!

Log Reader Agent errors

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I was having this same issue. Below is how I found the orphaned Log Reader Agents, Once they were identified I removed the rows from MSlogreader_agents and it corrected the issue of errors in the replication monitor

SELECT TOP 500 [id]
  ,[name]
  ,[publisher_id]
  ,[publisher_db]
  ,[publication]
  ,[local_job]
  ,[job_id]
  ,[profile_id]
  ,[publisher_security_mode]
  ,[publisher_login]
  ,[publisher_password]
  ,[job_step_uid]
FROM [distribution].[dbo].[MSlogreader_agents]
share|improve this answer
add comment

Your Answer

 
discard

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.