Error message when I try to Sync using WCF RRS feed

  • Question

  • Please Help...  I am getting the following error message 'GetSchema method not found on proxy instance.' when I call this line of code
    Microsoft.Synchronization.Data.SyncStatistics syncStats = syncAgent.Synchronize();
    • Moved by Hengzhe Li Friday, April 22, 2011 2:02 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Wednesday, August 5, 2009 3:51 PM


All replies

  • If you are using WCF it means you have a client proxy to communicate with the remotely running DbServerSyncProvider instance. You need to make sure that you implement the GetSchema method on the proxy and the service. Can you confirm that you have both these implemented?

    Maheshwar Jayaraman - WCF -- http://blogs.msdn.com/dotnetremoting
    Wednesday, August 5, 2009 5:32 PM
  • Basically, I followed the 'Walkthrough: Adding a Local Database Cache to an N-Tier Application' located here http://msdn.microsoft.com/en-us/library/bb882690.aspx
    except that instead of using the customers table from Northwind I am using 4 tables from my own DB which are populated via Stored Procedures.

    The Service is using a SyncContract which does implement a GetSchema Method.

    Thursday, August 6, 2009 1:51 PM
  • Can you post the complete exception statck trace and message(including any InnerException's)
    Maheshwar Jayaraman - WCF -- http://blogs.msdn.com/dotnetremoting
    Thursday, August 6, 2009 10:08 PM
  • Thanks for your help.  I have resolved this issue it was a error on my part.
    Tuesday, August 11, 2009 3:43 PM
  • If you post the error and how you fixed it that would help other users to resolve similar issues.

    Maheshwar Jayaraman - WCF -- http://blogs.msdn.com/dotnetremoting
    Tuesday, August 11, 2009 7:07 PM