TFS Continious Integration

ktrainerktrainer Posts: 6
edited June 8, 2012 12:55PM in SQL Compare Previous Versions
I am setting up continious integration using TFS. I not clear on how I can use SQL COmpare command line to compare a DB in TFS to a target DB Environment. I tried:

sqlcompare.exe /sourcecontrol1 /versionusername1:<myuser> /versionpassword1:<mypwd> /revision1:head /scriptsfolderxml:testSC.xml /mksnap:tale.snp

Contents of testSC.xml:
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
<ISOCCompareLocation version="1" type="TfsLocation">
<ServerUrl>http://gdcdevtfs01:8080/tfs/genesis</ServerUrl&gt;
<SourceControlFolder>$/Everest/Main/DB/Tale</SourceControlFolder>
</ISOCCompareLocation>

I get the following error:
Unexpected error: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
System.NullReferenceException
at #i9G.#n9G.#1tD(String #p9rc, DataSource #ovUb, Options #5OPb, Boolean #q9rc)
at #i9G.#wamb.#lMPb()
at #i9G.#wamb.#kcmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#OUb()
at #i9G.#OsPb.#6sc(String[] #ead)
Obviously I am missing something. Any ideas?

Comments

Sign In or Register to comment.