none
Using SyncToyCmd with CCService RRS feed

  • Question

  •  

    Hi,

     

    I am using SyncToyCmd with Nant :

     

    Code Snippet

    <exec program='C:\Program Files\SyncToy 2.0 Beta\SyncToyCmd.exe'>
       <arg value='-R' />
      </exec>

     

     

    which works fine.

    But when i launch the target with CCService (the CruiseControl.Net service) i have this message:

                <message level="Info"><![CDATA[SyncToyCmd cannot continue until the recent SyncToy upgrade is complete.]]></message>
                <message level="Info"><![CDATA[Please complete the SyncToy upgrade by running SyncToy.exe.]]></message>

     

    and the task fails.

     

    Somebody has an idea?

     

    Laurent

    Tuesday, June 3, 2008 8:45 PM

Answers

  • If you can, try logging in as the same user ID that runs the CCNet service and run SyncToy.exe at least once to let it initialize for that user-id, maybe even create your folder pairs under that user id too. I used to get that error when trying to run SyncToyCmd with a different user ID from the one I use to login.

     - Sergio
    Wednesday, June 4, 2008 6:46 PM