Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / March 2007



Tip: Looking for answers? Try searching our database.

cfexecute problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Forsberg - 30 Mar 2007 23:18 GMT
When I run the following code notepad doesn't pop up. I get a timeout error. If
I set the timeout to 0 nothing occurs at all.
The coldfusion service is running under it's own account with permissions on
the network.

<cfexecute name="C:\WINNT\System32\notepad.exe" timeout="2"></cfexecute>

Any ideas?

Thanks.
LL@Work - 31 Mar 2007 00:54 GMT
We have seen this when Coldfusion is installed on a multi-server configuration and the admin instance and notepad.exe are not running as the same user.
Mr Black - 31 Mar 2007 05:35 GMT
It is popping up.  You just cannot see it, because services run on invisible
desktop, different from the default interactive desktop.
You have to chek "Allow service to interact with desktop" option in the
service properties in order to run CF service on the default desktop.  After
that you will see the Notepad window.

You are getting the timeout error, because notepad.exe never terminates (see
above).  When setting timeout to 0, you just start another detached invisible
instance of notepad.

You also can use http://www.cftagstore.com/tags/cfxexec.cfm to launch Notepad
on interactive desktop.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.