WCF Synchronization Services TargetInvocationException on updating

Hello experts!
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...
LVL 2
andrepiresAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KBergerCommented:
Hi,

could this be a problem with privileges?
Is your service running in the context of a specific account? Does this account have the privileges needed to update records (DataWriter Role in the DB)?

Regards,
-Kristof
0
andrepiresAuthor Commented:
KBerger,
Sorry for this long delay. It was not related to privileges, but an difference in the DB schema.
I ended up by hiring someone to fix the problem.
Thanks for helping!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrepiresAuthor Commented:
I'm choosing my own answer because I didn't find any other way to close this subject...
0
andrepiresAuthor Commented:
If there is any other way to close the subject when there is no good answers from the experts, please let me know...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WCF

From novice to tech pro — start learning today.