How to fix Log reader agent login failure in SQL Server replication?
Error:
Log reader agent has failed with an error
Login failed for user 'sql-user-account'.
Solution:
- Right click on the publication name and open
properties
window. - Go to
Agent Security
page and selectSecurity Settings
of log reader agent. If the issue in Snapshot agent, select theSecurity Settings
of snapshot agent. - Verify the username and password and change it.
- After the change, the log reader agent runs without an error.