How to find the problem caused UploadChangesFailed RRS feed

  • Question

  • Hi,

    My sync (SQL CE and SQL 2008 - Change Tracking) was running well using SqlCeClientSyncProvider and DbServerSyncProvider. All the sync stuff was generated (using Local Database Cache template of VS).

    Due to a performance reason, I migrated the sync stuff to call stored procedure. Everything seemed working until I got UploadChangesFailed containing a value after I added a record on the client database then call the sync.

    There was no exception caught during calling Synchronize(). I traced the sync (using SyncTracer), there was also no exception.

    Is there any way to find the problem caused UploadChangesFailed? There was no error but why I got the upload failed?






    Thursday, July 29, 2010 9:54 AM


  • Check the ApplyChangesFailed event instead if there's  any conflict/error detected. The UploadChangesFailed property is not an error itself but a count of rows that cannot be applied to the server, most likely due to conflicts or some other error.
    Thursday, July 29, 2010 10:11 AM