I've seen this error message in other posts. They didn't seem to help resolving our issue. We are trying this with two SQL Server 2008 servers. I backed up my database from the source server and then restored it on our destination server. We setup basic Transaction Replication. The Snapshot Agent is working fine. The Log Reader Agent fails with the error above. Is it most likely a login issue for this job or QueryTimeout?
Create the logins on both principal & Mirror with the same LOGIN NAME and SID
Step1: Create a login 'abc' on principal
Step2: Copy the SID of the login using the below code:-
"use master Select SID, name, dbname from syslogins"
Step3: Create a login 'abc' in the mirror using the code below:-
CREATE LOGIN Test WITH PASSWORD = 'xyz', SID = 'SID of principal abc login'
Step4: Change the db owner of both mirror & principal databases using sp_changedbowner 'abc'
Step5: Your problem is solved :)
Rick, I don't have an answer as I have the same setup as you and getting the same error. However when I set up a new test database under SQL 2008 the replication works fine but the database I am trying to replicate started off life in SQL 2000 so I guess the issue is something to do with that??
Sounds like the account that the log reader is running under doesn't have rights in one or more of the databases.