Activity overview
Latest activity by hmopt
Brian,
Thank you for your reply. My script uses Windows Authentication. And I checked the TMP folder environment variable and it is set a correct value. This is interesting...I ran my script again but this time I called SQLCompare without passing in any parameters:
<target name="synch.db" >
<exec program="${SQLCompare}" />
</target>
(where SQLCompare is set to "C:\Program Files\Red Gate\SQL Bundle 5\SQLCompare.exe")
I did get an error message saying that i need to specify atleast the necessary parameters for SQLCompare to work. This means, my Nant script is able to call SQLCompare successfully and SQLCompare is getting executed. But when I changed my script to,
<exec program="${SQLCompare} /verbose" />
it failed giving me the error "'C:\Program Files\Red Gate\SQL Bundle 5\SQLCompare.exe /verbose' failed to start
The system cannot find the path specified"
I thinkg its got to do something with the '/'. I even tried to put a '\' before all the '/' in my command line parameter list but that didnt work either. Is there anyway i can specify my parameters without the '/'. (I can use an xml file for my parametrs but even then i would have to use /arglist).
Thanks for you help. / comments
Brian,
Thank you for your reply. My script uses Windows Authentication. And I checked the TMP folder environment variable and it is set a correct value. This is interesting...I ran my script again ...
Error running SQL Compare using NAnt
Hi,
I am using SQL Compare Pro. When I run SQLCompare.exe from the the command line, I am able to get the results but when I call it via an NAnt script, it fails and I get the following error -
'C:...