none
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?

    http://social.microsoft.com/Forums/en-US/syncgeneral/thread/f9da6c0a-6d95-438f-a532-44f247a793ed

    I am running:

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

All replies