I have a smart client application communicating with its server via WCF. Data is created on the client and then sent over the service to be persisted. The server and client use
In my case, one of the classes had a property, whose datatype was object. Something like this:
public class BuyAddOnServiceRequest { object site_id }
after changing this to:
public class BuyAddOnServiceRequest { string site_id }
it worked!