AnsweredAssumed Answered

Unable to schedule AF Transformer tool to sync the Hierarchy using Windows Task Scheduler

Question asked by pavan_holla on Jan 11, 2019

HI There,


Can anyone please help me to schedule AF Transformer tool to in Windows Task Scheduler to trigger  everyday ?


Background - I am trying to trigger batch script by using below command -

Command "C:\Program Files\PIPC\AFTransformer\AFTransformer.exe" /configxml="E:\DATA\Test\AF Transformer Patterns\SharepointPatterns\XML_File_name.xml" >> "E:\Test\Output.txt"


Below is the issue I get -

Error –

Load Application settings...

Load Application settings - Completed.

Cannot start service from the command line or a debugger.  A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.


I see account has all permissions required to trigger the job, also tried to install the service using installutil, but even that did not help.


However, if I try to the run the above command in command prompt manually, IT WORKS for me.


Thanks !