we are use sync frame work 2.1.
Every thing was going correct from long time. But suddenly we found that syncing was stopped because of bellow mention problem.
error: System.OverflowException: Value was either too large or too small for a UInt64.
After analyzing the problem we found that sync frame work is using @@DBTS + 1 and it is returning negative value. Results was as follows.
select @DBTS
returns = 0x00000000801B5A7F
select cast(@DBTS as bigint)
returns = 2149276287
select @DBTS + 1
-2145691008
Please help! as we have sucked and having no idea where to move.