Client and Server Synchronization example throws InvalidCastException on SyncProvider assignment RRS feed

  • Question

  • I am trying to get the first Client and Server Synchronization example to run on my machine.  When the SampleSyncAgent() tries to assign the LocalProvider, the ClientSyncProvider throws an System.InvalidCastException.

    I did find this post about it, but it is a bit old so I am a little concerned about removing what I have installed and installing the fist to this post.  Any advice?


    I am running:

    • Windows 7 SP1
    • SQL Server 2008 R2 SP1
    • VS2010
    • Microsoft.Synchronization -->
    • Microsoft.Synchronization.Data -->
    • Microsoft.Synchronization.Data.Server -->
    • Microsoft.Synchronization.Data.SqlServerCe -->
    Wednesday, September 14, 2011 7:58 PM

All replies