Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Replication (2008)
 Replication stopped working

Author  Topic 

lyalille
Starting Member

2 Posts

Posted - 2010-11-22 : 11:57:59
Hi,

I have two databases with transactional replication between them. I didn't create them, but it seems that the replication was working until now. I don't know if there has been any changes in any of the databases, but comparing the creation scripts the only differences that I have found are these:

- There is a table with a non-clustered primary key in the publisher and with a clustered primary key in the subscriber. And another table with a clustered primary key in the publisher and with a non-clustered primary key in the subscriber.

- There is a table with a column that allows nulls in the publisher but not in the subscriber.

Is it possible that any of these differences prevent the replication from working properly?

Thanks,
Lya

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-11-22 : 12:07:54
what error message(s) do you see?

select top 100 * from msrepl_errors order by time desc in the distribution database

what does replication monitor show as status? is distribution agent running?
Go to Top of Page

lyalille
Starting Member

2 Posts

Posted - 2010-11-23 : 03:18:22
Thanks for your quick response, it turns out someone restarted the subscription with a wrong database name!
Go to Top of Page
   

- Advertisement -