Click here to Skip to main content
15,886,774 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi I have a WPF server client application which uses SYNC framework to sync data between server and client. Recently I have implemented batching for syncing the data. But I am getting this error

Inner Exception: Unable to set session parameters in DBSync provider. Cannot obtain the value for command parameter "@FittingCondition"

I have no idea what this means. Can anybody please help me with this
Posted
Updated 3-Nov-14 11:41am
v2

1 solution

From the error I would suggest you check the value of @FittingCondition. Does profiler allow you to sniff the SYNC data?
 
Share this answer
 
Comments
Prateju 4-Nov-14 10:24am    
No I am not able sniff or see the value while quering the DB as it dies in the non-debuggable section of the query. As far as I can debug, I see correct value passed. I did little research on the app and apparently this was a new column added to the table by another developer, many months after the application was in use. Recently I have added batching to the sync framework and that's where the app fails when it tries to set a common session parameter as the table data is new and has different sync session value I guess.

Any help on how to resolve this would be much appreciated.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900