v10 command line not working in v11
Andrejs
Posts: 6
Hi. We just upgraded to Compare 11. The command line arguments that we used in v10 aren't working anymore in v11. Can anyone help? The v10 command line we use is...
"/Server1:$(ServerOne) /db1:$(DatabaseOne) /Server2:$(ServerTwo) /db2:$(DatabaseTwo) /Filter:$(FilterPath) /Options:IgnorePermissions,IgnoreWhitespace,IgnoreStatistics,IgnoreCollations,IgnoreFileGroups,IgnoreUserProperties,IgnoreWithElementOrder,IgnoreDatabaseAndServerName /ScriptFile:$(OutputScript) /force";
We're obviously replacing the variables with the actual values at deployment time. What do I need to change in order to get this to work? Thanks for your help!!
"/Server1:$(ServerOne) /db1:$(DatabaseOne) /Server2:$(ServerTwo) /db2:$(DatabaseTwo) /Filter:$(FilterPath) /Options:IgnorePermissions,IgnoreWhitespace,IgnoreStatistics,IgnoreCollations,IgnoreFileGroups,IgnoreUserProperties,IgnoreWithElementOrder,IgnoreDatabaseAndServerName /ScriptFile:$(OutputScript) /force";
We're obviously replacing the variables with the actual values at deployment time. What do I need to change in order to get this to work? Thanks for your help!!
Comments
Redgate Software
Exception Message: SQL Compare returned an exit code of 64. Return code was non-zero. Data Diff script generation cannot continue. (type Exception)
SQL Compare: activated, edition: professional, serial number: XXX-XXX-XXXXXX-XXXX
SQL Compare Command Line V11.1.3.30
==========================================================================================================================================
Copyright Copyright c 1999 - 2015 Red Gate Software Ltd
Registering data sources
Creating mappings
Comparing
Applying Command Line Items (This is as far as it gets)
Redgate Software
/Server1:DEVPCHOICEWEB5FUSNTEAMBUILD01 /db1:MaxDir /Server2:DEVPCHOICEWEB5FUSNQASQL01 /db2:MaxDir /Filter:"file:C:Usersdt0fof6p.NAMCKAppDataLocalTempBuildAgent351Assembliesfusiondbcomparefilter.scpf" /Options:IgnorePermissions,IgnoreWhitespace,IgnoreStatistics,IgnoreCollations,IgnoreFileGroups,IgnoreUserProperties,IgnoreWithElementOrder,IgnoreDatabaseAndServerName /ScriptFile:"C:Builds351Fusion_2010PCDEV03_Dev MasterBinariesSyncScriptsMaxDir.sql" /force
Hopefully the stderr output will provide more information about what Compare thinks is wrong with the command line.
Redgate Software
SQL Compare Command Line V11.1.3.30
=======================================================
Copyright Copyright c 1999 - 2015 Red Gate Software Ltd
Registering data sources
Creating mappings
Comparing
Applying Command Line Items
Error: URI formats are not supported.
Redgate Software