I'm building a simple WCF synchronization service using the the Local Database Cache Wizard.
The client is a Windows Mobile 6 windows forms application.
I need to sync only 10 small tables.
I configured the service to use basicHttpBinding and decorated the contract with the XmlSerializerFormat attribute.
I published the service to the server and created the proxy in the client. Then I tried to sync before making any changes to the DB. Both application and server behaved correctly and informed that no updates were downloaded/uploaded. Then I changed a record in a single table on the client and tried to sync again. It should send 1 record to the server, but then I got the TargetInvocationException. After checking the error, I saw that it was saying that the Update Command could not be executed. Nothing more than this...
I have no clues on how to solve this problem. The configurations seams to be correct and the proxy was created.
Anyone help please...