Groups | Blog | Home
all groups > sql server replication > july 2006 >

sql server replication : Transactional Replication between SQL 2005 and SQL 2005


Paul Ibison
7/21/2006 12:00:00 AM
Are you sure the jobs are running correctly. Have a look at the log reader's
job history. I had a case like yours recently where the log reader's owner
couldn't be authenticated, so the log reader never passed on the
transactions. If this is the case, change the log reader's owner to sa and
see if this fixes it.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Paul Ibison
7/21/2006 12:00:00 AM
In the replication monitor, have a look at the warnings and agents tab -
what is the state of the log reader agent? Right-click on it and select the
properties and on this screen you'll get the name of the log reader's job.
Expand the sql server agent node in SSMS and you'll find the job. Open up
its properties and check that the owner is sa and start the job. To test
that this part of the infrastructure is working ok, make an update to one of
the articles and then go to the distribution database and run
sp_browsereplcmds to see if the command is there ready to be synchronized.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com



Paul Ibison
7/21/2006 12:00:00 AM
When you say the same error, presumably you mean information message
reported n the first post? What we really need to know is if the log reader
agent is successfully delivering the commands. If you do an update, what
does sp_browsereplcmds return when run in the distribution database? Do you
see a call to run the corresponding update stored procedure on the
subscriber?
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com





Paul Ibison
7/21/2006 12:00:00 AM
Impersonation is a purely SQL Server 2005 property for the replication
subsystem, so I guess that explains why the option isn't enabled in your
mixed setup. So, you're restricted to using the sql server agent account
(which should be configured as a domain user).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Paul Ibison
7/21/2006 12:00:00 AM
OK - so the initialization phase itself was the problem. Strange though -
I'd have expected an error to be reported by the distribution agent
nonetheless. Anyway - it's working now :)
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Makarand Keer
7/21/2006 1:01:02 AM
Hi

I am having transactional replication between SQL Server 2005. However by
data is not getting replicated to subscriber database. When I look into
Replication Monitor under "Publisher to Distributor History" it gives message
as - 'No replicated transactions are avaialble' and no actions are seen
under "Distributor to Subscriber History" option.

Any help is appriciated...

Makarand Keer
7/21/2006 1:53:02 AM
Paul
This is first time I am doing replication in SQL Server 2005......

How to look Log Reader's job history, with SQL Server 2005 Management Studio.

Regards
Makarand

[quoted text, click to view]
Makarand Keer
7/21/2006 2:31:02 AM
Paul

Thanx for that direction...
I tested Log Reader by changing its owner to 'sa' howeverit is still giving
same error ....

Regarding sp_browsereplcmds, how to see - command is there ready to be
synchronized?

Makarand


[quoted text, click to view]
Makarand Keer
7/21/2006 3:53:01 AM
Paul

I got the error....
Basically while configuring server as Distributror I had given local path
instead of Network path for 'C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\repldata' folder. After rectifying this now it is
working fine.

Thanx lot for your support.

Makarand

[quoted text, click to view]
Makarand Keer
7/21/2006 4:04:01 AM
Paul

One more query...

I am trying to Subscribe Publication Published on SQL Server 2005 into SQL
Server 2000. While configuring for Subscription from SQL Server 2000, in
"Distribution Agent Security" window, "Run Under Following Window Account"
is showing as disabled and only "Run Under SQL Server Agent Service Account"
option is enabled.
My Sql Server Agent Service Account is currently running under "Local System
Account".
Why can't I give Windows Account here in this case?

Regards
Makarand

AddThis Social Bookmark Button