Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / January 2006

Tip: Looking for answers? Try searching our database.

Forcing resynchronization

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lewism@bitroads.com - 31 Jan 2006 20:08 GMT
I am doing testing on a database between a SQL Server and a laptop
usingmerge replication.  I can see that each system is missing a record
in each system.  When i run the validation process the system
identifies that the table are not in sync.  Regardless of the
resynchronization method I use the two tables do not synchronize.  What
am I doing wrong
Paul Ibison - 31 Jan 2006 21:26 GMT
This sort of thing can occur if the merge trigger hasn't fired. EG

(1) If you bulk insert the rows and choose the defaults, then FIRE_TRIGGERS
is false and consequently the rows are not added to MSmerge_contents.

(2) If you do a fast-load using the Transform Data task in DTS.

In these cases case, you need to run sp_addtabletocontents to include the
rows then resynchronise. Alternatively you can use sp_mergedummyupdate for a
single row. For the fast load case, in future if you deselect the check box
the triggers will fire.

 Cheers,
       Paul Ibison SQL Server MVP, www.replicationanswers.com
         (recommended sql server 2000 replication book:
         http://www.nwsu.com/0974973602p.html)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.