SQLce Exception on Device RRS feed

  • Question

  • Hi,

    I am building an occasionally connected device application using sync services.  It is a download only synchronization. 

    When I run the syncAgent.sync() on the emulator, everything works fine and the db syncs.

    However, when I run it from the device, it get a sqlceexception with "" for error text.

    The stack trace is:

    System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr) at
    System.Data.SqlServerCe.SqlCeConnection.Open(boolean silent) at
    System.Data.SqlServerCe.SqlCeConnection.Open() at
    Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.Connect() at
    Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.EnterPublicAPI() at
    Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.BeginTransaction(SyncSession syncSession) at

    (the rest of it is just about the program and the button click)

    If anyone has ran into this before or has any idea what is going on, I'd appreciate any help.

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