sql server - Columns added to table do not synchronise -
i'm working microsoft sync framework. have client database , server database, , every once in while synchronize each other. no failures or anything.
however when add new columns on server in tables, these don´t synchronized. if delete scope, gets recreated , new columns part of new scope, when start synchronization, says "invalid columnname 'xy'".
i possibly go client , add columns there, not best way it.
also, when add new tables on server, don't want go inside scope. far changing scope opportunity but, i'm missing on line in scope:
<adapter name="[tblnewtable]" globalname="[tblnewtable]" trackingtable="[tblnewtable_tracking]" selchngproc="[tblnewtable_selectchanges_0e06c509-3402-4898-b8e6-cc8885fa8c35]" >
i'm not quite sure random number comes from, since in every adapter name of scope.
i couldn't find on microsoft library, maybe has answer 1 of these questions:
is there simple way add new columns synchronization? how new tables scope?
edit: figured out using blog entry: http://myazurejourney.blogspot.de/2010/06/how-to-re-provision-scope-in-microsoft.html#comment-form
i configured databases on both sides, client , server, reprovisioned complete new scope using functions in blog posted above. works.
adding new object whether new column or new table etc. requires change existing scope info xml data. did same thing following blog: https://jtabadero.wordpress.com/2011/04/28/modifying-sync-framework-scope-definition-part-4-workarounds-adding-a-table-to-an-existing-scope/
Comments
Post a Comment