?
Solved

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

Posted on 2006-03-20
2
Medium Priority
?
447 Views
Last Modified: 2013-12-24
Hi, I've read a similar post on this issue for version 6.1
(http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_21576599.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


0
Comment
Question by:MedtronicVascSR
2 Comments
 
LVL 8

Accepted Solution

by:
pmascari earned 2000 total points
ID: 16242961
We had similar issues and couldn't get it worked out.  We tried out the custom tag, CFX_EXEC, and it has worked for us.  You can get it here:

http://www.cftagstore.com/tags/cfxexec.cfm
0
 

Author Comment

by:MedtronicVascSR
ID: 16252433
Thanks for the tip. Worked right out of the box without any fussing around!

Ty
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question