Issues with Command Line Code in Sql Data Compare 8
jpanicoma
Posts: 4
I am running Sql Data Compare 8 V8.0.0.832 and I am getting the following message when I run the script below.
Serial Number: 507-001-100750-2C26
Registering databases
Mapping
Comparing databases
Error: The selected objects are identical or no objects have been selected in the comparison.
The same script is running in Sql Data Compare 7 with no issues. Any suggestions would be appreciated.
Serial Number: 507-001-100750-2C26
Registering databases
Mapping
Comparing databases
Error: The selected objects are identical or no objects have been selected in the comparison.
The same script is running in Sql Data Compare 7 with no issues. Any suggestions would be appreciated.
@echo off cd "C:\Program Files (x86)\Red Gate\SQL Data Compare 8" SQLDataCompare /sync /pr:"C:\Documents and Settings\administrator\Local Settings\Application Data\Red Gate\SQL Data Compare 8\V8_EverythingbutMeterTransfer_Vornado2.sdc" /f /out:"C:\Output\Vornado_Web_Transfer_2011.txt"
Comments
If not, then first check there are actually differences - if you run that project in the GUI, are there changes shown?
Redgate Software
Serial Number: 507-001-100750-2C26
Registering databases
Mapping
Comparing databases
Error: Object reference not set to an instance of an object.
Redgate Software
Error: Object reference not set to an instance of an object. message when I run as a script. Note: I can run the same job and script in SQL data compare 7 with no issue. Not sure where to turn from here.
i.e.
@echo off
cd "C:\Program Files (x86)\Red Gate\SQL Data Compare 8"
SQLDataCompare /sync /s1:<server1> /s2:<server2> /db1:<database1> /db2:<database2> /f /out:"C:\Output\Vornado_Web_Transfer_2011.txt"
Just to see if that works or not?
Redgate Software