locked
SyncStatistics values are always 0 RRS feed

  • Question

  • Except for the start and end times, it looks like none of the values in the SyncStatistics object returned by syncAgent.Synchronize() is set. They are always 0.

    The various properties of the GroupProgress and TableProgress objects in the SyncProgress events are also always 0.

    Do I have to do anything to enable statistics? Are they not implemented yet? Is this a bug?

    • Moved by Max Wang_1983 Friday, April 22, 2011 11:24 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Sunday, February 4, 2007 6:12 PM

Answers

  • Just ignore my question. I just found a really stupid error in my own code.
    Sunday, February 4, 2007 8:02 PM

All replies

  • I made some more changes to my application (removed UpdateOriginatorID column, added a tombstone table) and now I get statistics at least for the deletes in the SyncProgress events and the SyncStatistics object. There are still no statistics for inserts and updates.
    Sunday, February 4, 2007 6:46 PM
  • Just ignore my question. I just found a really stupid error in my own code.
    Sunday, February 4, 2007 8:02 PM