Hi,
In some cases, in update handler, I need to reject data modified by the subscriber (sql compact 3.5 sp2) and return the publisher's data (sql server 2008 R2 SP3).
Here is the problem because type of fields in updateddataset is wrong for decimal fields (seen as string fields) or for long fields (seen as decimal) and updates fail. Decimal.parse fails except if I declare cultureinfo..InvariantCulture but in this case I get an error message "ERROR: ErrNo = 0x8004565a, ErrSrc = <null>, ErrType = 8, ErrStr = The Merge Agent failed because the schema of the article at the Publisher does not match the schema of the article at the Subscriber. This can occur when there are pending DDL changes waiting to be applied at the Subscriber. Restart the Merge Agent to apply the DDL changes and synchronize the subscription"
This error was normally corrected by a fix in cumulative update 13 for SQL Server 2008 R2 SP2 but is back with SP3.
Any help will be appreciated.