Operation Failed

There are several reasons why an Operation may fail to run. Please check the following items:

Make sure the path to the executable, .bat or other script file is correct and there are no typos. If there are spaces included in the path or filename it is necessary to enclose the path\program.exe in quotes. For example, Operation:

c:\program files\SmartBatch 2009\smartreplace\smartreplace.exe

should be:

"c:\program files\SmartBatch 2009\smartreplace\smartreplace.exe"  

Where the quotes are actually entered into the Operation.

If the quotes are not specified, an error 5 is returned. Error 5 is the error the Windows Operating System returns. This indicates access denied which is not the error you would expect.

cmd.exe /c mybatfile.bat

or just

mybatfile.bat

Note:  UNC names are resolved at the domain. If you do not have access to the domain or the  SmartBatch 2009 service does not have access to the domain, the Operation will fail.

There are several debugging methods you can use to determine why the Operation failed. Such as:

If it runs from the Operation Preview but does not run when scheduled, refer to Frequently Asked Questions for more information.