Locked Microsoft Sync conflict resolution

  • 15 พฤศจิกายน 2552 7:15
     
     
    am using Sync Framework 2.0 for Synchronizing SQL Server 2005 and SQL Express database.
    I need to implement the conflict resolution logic for the same.
    I am trying to find out the equivalent of "ConflictResolver" property in "SQLCeClientSyncProvider" in SQLServer2005 /SQLExpress
    I have found out a sample at :
    But sample doesnot give any implementation for conflict resolution.
    Please guide me for handling conflict resolution in case of SQLServer2005 and SQLExpress synchronization.
     
    • ย้ายโดย Dong CaoMicrosoft, Moderator 16 พฤศจิกายน 2552 20:17 It is a database provider question. (From:SyncFx - General)
    • ย้ายโดย Max Wang_Chinasoft 21 เมษายน 2554 22:30 forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    •  

ตอบทั้งหมด

  • 16 พฤศจิกายน 2552 20:25
     
     
    Hey,

    For your scenario, which providers do you use to sync from SQL server 2005 and SQL express database?

    Thanks,
    Ann
    Ann Tang
  • 19 พฤศจิกายน 2552 0:41
     
     คำตอบ
    The SQLExpress provider does not support "ConflictResolver".  You can use the standard way of handling conflicts  in ApplyChangeFailed callback. Please refer to the link below.

    http://msdn.microsoft.com/en-us/library/bb725997.aspx

    Thanks
    Jandeep
    jandeepc
    • เสนอเป็นคำตอบโดย Jandeep 19 พฤศจิกายน 2552 21:10
    • ทำเครื่องหมายเป็นคำตอบโดย Dong CaoMicrosoft, Moderator 20 พฤศจิกายน 2552 22:54
    •  
  • 27 พฤศจิกายน 2552 12:25
     
     
    The SQLExpress provider does not support "ConflictResolver".  You can use the standard way of handling conflicts  in ApplyChangeFailed callback. Please refer to the link below.

    http://msdn.microsoft.com/en-us/library/bb725997.aspx

    Thanks
    Jandeep
    jandeepc

    I am using sqlclientprovider and sqldbprovider to sync sqlexpress client data with sqlserver database provided in sample .
     
    here i couldn't find how to handle dataconflict. 
     
    in the sample they have defined event handlers for confilct.these events are not firing when we update the record and sync from client to server or server to client
  • 28 พฤศจิกายน 2552 6:40
    เจ้าของ
     
     
    Transpacific, I have posted a response to your other thread. Please use the new providers and dont spend too much time architecting a solution on the SQL Express sample.
    This posting is provided AS IS with no warranties, and confers no rights