locked
Synchronizing large data between Desktop and Windows Mobile 5 Device RRS feed

  • Question

  • Dear All,

    I had been successed to develope data collection solution consist of Three Projects(Visual Basic 2008):

     

    1- WCF Service Library, as middl tier between SQL express 2008 (Desktop database) and SQL CE (Device Database).

    it is acting as web service (basichttpbinding)

    2- Client Project, to handle data in Device.

    3-Server Project, to report data uploaded by client project

     

    - The client database can snapshot (Download) some table from server database successfully by synchronization methods via WCF as web service (this service syncdirection=snapshot).

     

    - And the client can upload one table to server database also successfully by synchronization methods via WCF as web service(this service syncdirection=uploadonly).

     

    My Problem is : 

    the client project deploied in the device can downlod any amount of data to its sdf database (ex: 25,0000 table rows).

    it is around 2.5 MB data file

     

    but

     

    it can not upload more than 200 table rows (Wi\hich is around 200 KB data file), Why?

    while it can upload 200 records or less !!!

     

    please your kind help...

    • Moved by Hengzhe Li Friday, April 22, 2011 7:48 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Monday, November 24, 2008 5:59 PM

All replies

  • Thank you every body,

    I found the solution for my problem, it was occoured becsuse WCF web service "basichttpbinding" limitation.

    I increase the parameters in 'App.Config' fileas the following, then it works successfully..

     

    <bindings>

    <basicHttpBinding>

    <binding name="ClientDownloadBinding" closeTimeout="00:10:00"

    openTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="true"

    maxBufferSize="65536000" maxReceivedMessageSize="65536000">

    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"

    maxBytesPerRead="4096" maxNameTableCharCount="16384" />

    </binding>

    </basicHttpBinding>

    </bindings>

    Tuesday, November 25, 2008 9:45 AM