Sync Framework Peer Data Sharing Unable to Catch Conflicts, Source Provider Alwasy wins!
Posted
by Belliez
on Stack Overflow
See other posts from Stack Overflow
or by Belliez
Published on 2010-04-09T08:08:30Z
Indexed on
2010/04/09
8:13 UTC
Read the original article
Hit count: 535
Hi,
I am using SQL Server 2008 and the WebSharingAppDemo-SqlProviderEndToEnd sample and this is almost perfect for my needs however I am unable to detect conflicts.
By default ConflictResolutionPolicy is set to ApplicationDefined. I have tried setting the ResolutionPolicy to SourceWins, DestinationWins or ApplicationDefined and I always get the same results? The Destination Provider Proxy (Peer) always wins?
Can someone please provide a sample of how I can detect a conflict and act upon it or point me in the right direction where I can start to look. I am not sure what to do and where I can create events for detecting collisions.
Been staring at this too long now and going around in circles!
Thanks in advanced.
Paul
© Stack Overflow or respective owner