Link to home
Start Free TrialLog in
Avatar of MedtronicVascSR
MedtronicVascSRFlag for United States of America

asked on

cfexecute Issue After Migration From 4.5.1 to MX 7....

Hi, I've read a similar post on this issue for version 6.1
(https://www.experts-exchange.com/questions/21576599/cfexecute-is-driving-me-crazy.html)
but the accepted answer didn't work for us so I'm posting our issue. In a nutshell the cfexecute stopped functioning properly after the migration from CF ver 4.5.1 to MX 7. The web server is 2003. We've verified that we can run the bat file from the command prompt on the server with the expected results. We've also added in the timeout variable per a post suggestion as well but to no avail. Here's the code chunk from 4.5.1:

<cfexecute
      name="D:\java\lib\ereq\basicSSH.bat"
      arguments="ereqtf ereqdh2 IPXXX.XX.X.XXX/export/home/ereqtf/ereq"
      outputfile="D:\java\lib\ereq\ereqtf.out"
</cfexecute>

Basic modification we've tried with a number of variations:
<cfexecute
      name="C:\WINNT\system32\cmd.exe"
      arguments="D:\java\lib\ereq\basicSSH.bat basicSSH ereqtf ereqdh2 IPXXX.XX.X.XXX/export/home/ereqtf/ereq"
                timeout="5"
      outputfile="D:\java\lib\ereq\ereqtf.out"
</cfexecute>

Any other thoughts\tricks\workarounds?

Thanks,
Ty


ASKER CERTIFIED SOLUTION
Avatar of pmascari
pmascari
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MedtronicVascSR

ASKER

Thanks for the tip. Worked right out of the box without any fussing around!

Ty