Data Compare will halt while synchronizing data
JonBoy
Posts: 10
Data Compare stops while synchronizing data. Easily reproducible 100% of the time.
Start a data compare between 2 databases with tables that have differences. Wait for Data Compare to generate the sql scripts. Synchronize tables through DataCompare. When the Synchronize popup is displayed (window with the % competed in the title bar), attempt to drag the window to move it.
Data compare will then stop. A popup will be displayed stating that the text could not be applied to the DB (text will be different each time because it looks like the actual raw text it's at while updating the data from the scripts). A new window will be displayed stating "Tasks cannot be completed".
The fix would be to allow the user to move the window without cancelling the data synch.
Start a data compare between 2 databases with tables that have differences. Wait for Data Compare to generate the sql scripts. Synchronize tables through DataCompare. When the Synchronize popup is displayed (window with the % competed in the title bar), attempt to drag the window to move it.
Data compare will then stop. A popup will be displayed stating that the text could not be applied to the DB (text will be different each time because it looks like the actual raw text it's at while updating the data from the scripts). A new window will be displayed stating "Tasks cannot be completed".
The fix would be to allow the user to move the window without cancelling the data synch.
Comments
We've just tried replicating this on a couple of PC's, but so far we can't. We can happily wiggle the box around during the sync without it causing any problem, the process continues and completes successfully.
What operating system are you using? And are your graphics card drivers up to date?
Redgate Software
Can I double-check the exact version you're on?
Also, you may want to check to see if there's a logfile (right click the main SQL Data Compare titlebar and pick the option to locate log files).
Thanks for the offer of a remote session - not sure how useful it is at this point, as I'm unsure as to what may be causing it. It's certainly not a problem I've heard of previously.
One other thing - do you have other users there who can get the same to happen? Or does it work ok for some of them?
Redgate Software
Had another co-worker test this issue on his box (WinXP x86, DataCompare version 8.1.0.4). Same thing. As soon as the data sync occurs, he dragged the window and the sync stopped with the error reported above.
All of our dev systems are running dual monitors. Have no idea if that's what's causing this issue, just throwing it out there.
Sucks when it stops with a large data sync since it has to be restarted.
I guess it could be more likely on large syncs- I've only tested on scripts that take around 10 secs or so to execute. What kind of size are you talking about?
Redgate Software
For testing purposes, I did a couple smaller tables where the estimated remaining time is < 1 minute and the issue still occurs by moving the status window.
Log doesn't log anything with the sync is halted (in verbose mode).
Redgate Software
I wiggled the box around for the whole time and it just ran through without trouble; so I'm not sure why it's behaving like it does for you. Are the machines that you have where the problem occurs all the same hardware? Maybe there's some odd issue around the particular graphics card you have or similar?
Redgate Software
It seems that I have a similar issue, but I’m not sure it’s related to UI. It has happened to me twice today on a 700k (400MB) table which takes quite some time to sync. First, I got the error when was about 80% done and the error message was something that looked like an invalid piece of SQL. Since the generated SQL script was huge, and I did not have enough time, I concluded that some odd piece of data was not properly escaped, and gave up. I tried few hours later again and got a similar error, but now right at the beginning of the process. I copy-pasted it to Management Studio and it was fine. The only "odd thing" about the snippet was that that was an nvarchar with a newline in it. I clicked on OK, and started the sync again and so far it has been running. It’s 20% done now (which seems very slow), but I’m afraid it may fail again with a similar error message.
Jan Zich
Windows Server 2008 R2, SQL Server 2005