none
Sync over WCF Provisioning/Deprovisioning RRS feed

  • Question

  • Making a one way sync in N-Tier using batch files I've currently a strange behavior.

    Running a synchronization

    - Batch files are created on the server side (MemoryDataCacheSize = 512)

    - But GetChanges called on the proxy return

    The maximum message size quota for incoming messages (314572800) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

    and batch files aren't downloaded.

     

    WCF logs on the server does not show any error

    Sync FX logs does not show any error

    WCF service running out of memory

     

    But what is interesting is that doing a Deprov/Prov on the SQL Server without doing any other changes, the next sync works fine.

     


     

     

    Wednesday, August 24, 2011 9:22 AM

Answers

All replies

  • have you enabled verbose Sync Framework tracing?

    also, which database are you deprovisioning/provisioning that allows it to work on second sync? client or server?

    also, can you try this: http://support.microsoft.com/kb/2567595

    • Marked as answer by Pôp Wednesday, August 31, 2011 2:11 PM
    Friday, August 26, 2011 1:21 AM
    Moderator
  • Your analysis is correct.

    A bug in our client application enables the creation of multiple threads.
    Each initiating a synchronization process.

    Sync Framework tracing was in 'info' mode (seems to be insufficient to catch the error message).

    Deprovisioning/provisioning on the server side allows some way out of the infinite loop but I was unable to understand why (The error appeared in the layer WCF).

    We will install the fix and analyze the behavior of the WCF Service.

    Thanks.

     

     
    Friday, August 26, 2011 8:11 AM