Yes it does work on the smaller files, but when I feed it a larger one it hangs. I've checked the process list and both cmd.exe and the htmldoc process are there. Each time I run the page I'll get another cmd and htmldoc process in the list. They stay there until I restart ColdFusion. They do not consume any CPU or increase their memory allocation.
Also should have mentioned that the PDF file *does* get generated, but its a few kb short. If I try to open the PDF, the viewer says the file is corrupt. If I run htmldoc manually at a prompt, the PDF is a few Kb larger and I can open it just fine. -Ryan Gaulin, Mark wrote: > Have you ever gotten in to work on cfmx7, or does it fail on every file? > > If it fails all of time, even on trivial inputs, then I would suspect > permissions problems... Maybe temp directories or something like that. > One way to test that angle is to login using the same account that cfmx > will run as. (Check the service settings.) > > Can you see if the htmldoc process is actually running (using CPU, etc) > when it "hangs", or is the process there but not "doing anything" (0 > cpu)? > > Mark > > -----Original Message----- > From: Ryan Stille [mailto:[EMAIL PROTECTED] > Sent: Monday, February 12, 2007 12:37 PM > To: CF-Talk > Subject: Issues with cfexecute in cfmx7? > > I am converting an app from CF5 to CF7. This application makes use of > an external program (htmdoc) to convert html into PDFs. The problem is > when I feed it large html documents (200-300kb), it hangs when I > cfexecute it. When I run the exact same command at a command prompt, it > runs just fine. Any tips or tricks to using cfexecute on cf7? This is > on Windows. The process only takes a second or two to execute when I > run it at the cmd prompt. > > Thanks, > -Ryan > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269571 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

