Re: cfexecute error
What I am trying to do is sending print jobs to a network printer as a scheduled task. jl On 11/30/05, Michael Traher <[EMAIL PROTECTED]> wrote: > Can you explain a bit more what you are trying to achieve? > > I notice in docs for cfexecute that paths in examples all have \\ double > backslahes in windows paths. not sure why but... > > > On 11/30/05, John Lucania <[EMAIL PROTECTED]> wrote: > > > > Can anyone help on this? > > > > An exception occurred when invoking an external process. > > The cause of this exception was that: java.io.IOException: > > CreateProcess: c:\copy.bat > > D:\Inetpub\WWWROOT\BBDatabase\QueryBatch.cfm 10.1.125.25 error=2. > > > > The error occurred in D:\Inetpub\WWWROOT\BBDatabase\BBBatch.cfm: line 1 > > > > 1 : > arguments="#ExpandPath('QueryBatch.cfm')# 10.1.125.25" > > outputfile="c:\BBBatch.txt"> > > > > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225692 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfexecute error
Can you explain a bit more what you are trying to achieve? I notice in docs for cfexecute that paths in examples all have \\ double backslahes in windows paths. not sure why but... On 11/30/05, John Lucania <[EMAIL PROTECTED]> wrote: > > Can anyone help on this? > > An exception occurred when invoking an external process. > The cause of this exception was that: java.io.IOException: > CreateProcess: c:\copy.bat > D:\Inetpub\WWWROOT\BBDatabase\QueryBatch.cfm 10.1.125.25 error=2. > > The error occurred in D:\Inetpub\WWWROOT\BBDatabase\BBBatch.cfm: line 1 > > 1 : arguments="#ExpandPath('QueryBatch.cfm')# 10.1.125.25" > outputfile="c:\BBBatch.txt"> > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225660 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfexecute error
Can anyone help on this? An exception occurred when invoking an external process. The cause of this exception was that: java.io.IOException: CreateProcess: c:\copy.bat D:\Inetpub\WWWROOT\BBDatabase\QueryBatch.cfm 10.1.125.25 error=2. The error occurred in D:\Inetpub\WWWROOT\BBDatabase\BBBatch.cfm: line 1 1 : 2 : *QueryBatch.cfm is below: ** select * from PTBB where len(MRN) = 7 order by Lname Marian, this is a test. Please let me know if you got this one! Thank you, Daniel Name ABO RH Antigen Antibody #LName#, #FName# #ABO# #RH# #Antigen# #Antibody# #GetQryList.RecordCount# Records Found ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFExecute Error.... Silly Java.....
Trying to use cfexecute to change an AD password. Works no problem from the command prompt however when I load the page it get: The cause of this exception was that: java.io.IOException: CreateProcess: "net user.exe" MYUSERNAME MYPASSWORD /domain error=2 - or - - The cause of this exception was that: java.io.IOException: CreateProcess: "net user.exe" MYUSERNAME MYPASSWORD /domain error=3 My code is: I have verified that the account that runs the Coldfusion service has the appropriate rights to access net user.exe and verified that the cfexecute tag is not disabled in cfadmin. Any Ideas would be greatly appreciated. Thanks, Brian R. Polackoff Coldfusion Version 6.1 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216659 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54