Error Sync framework in WCF -


i have implemented sync framework in wcf service.

code:

[servicebehavior(instancecontextmode=instancecontextmode.persession)] in service contract class

having error the call beginsession() in relationalsyncprovider not valid. session in progress sorry late

on

syncoperationstatistics stats = orchestrator.synchronize();

please guide me resolve issue.

thank you.

replicated issue server side having multiple clients connect concurrently. exception server side @ sqlsyncprovider.beginsession(). in sync 2.1.

i solved making sure sqlsyncprovider server per client instead of static across client connections.

since replicating via unit tests had issue when client proxy reference static, switched instance well.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -