My merge replication was working for 2 year or more, then I've added a new empty table and made a new snapshot. Now when I try to synchronize with subscriber it gives these errors:
Incorrect syntax near ')'. (Source: MSSQLServer, Error number: 102)
Incorrect syntax near the keyword 'else'. (Source: MSSQLServer, Error number: 156)
The column name 'rowguidcol' is not valid. (Source: MSSQLServer, Error number: 207)
Cannot find the object 'MSmerge_ctsv_DBC20FB0FE674337B7037B1D0E0622C2' because doesn't exist or the user has no permission. (Source: MSSQLServer, Error number: 15151)
What is the problem and how can I fix?