SyncSvcUtil: non-existing column in scopeconfig silently ignored

Answered SyncSvcUtil: non-existing column in scopeconfig silently ignored

  • 29 września 2010 08:34
     
      Zawiera kod

    I have spend some time to figure out a little tricky problem caused by my syncscopeconfig: i had defined a column for sync which is not existent in the target database. This was a simple typo in the colum name. Unfortunatly SyncSvcUtil.exe did not complain about it at all. Instead it silently ignored the problem. Cogegen for server and isclient and also provisioning worked without any problems. Only the misspelled column was not part of the generated scope entity.

    Simplifed example:

     

         <SyncTable Name="MyTable" IncludeAllColumns="false" FilterClause="....">
          <SyncColumns>
           <SyncColumn Name="NonExistentColum" IsNullable="false" SqlType="int" />
    
    

     

Wszystkie odpowiedzi

  • 29 września 2010 17:29
    Moderator
     
     Odpowiedz

    M.Bi,

    We discovered this internally and have already checked in a fix for this. Expect this fixed in the next refresh.

    Thanks

    Mahesh


    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar
    • Oznaczony jako odpowiedź przez M.Bi 30 września 2010 06:56
    •