Re: CFFile copy, bigtime permissions issue..
Paul, Worked lilke a charm.. THanks... Jeff On 6/12/06, Paul Vernon <[EMAIL PROTECTED]> wrote: > > Change the user contest that CF starts up with so that it has permission > to > access the relevant systems. > > Paul > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243256 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: CFFile copy, bigtime permissions issue..
I haven't had to try this with CF, but with SQL Server, we use Domain Accounts to run all the services and perform similar file copy functions. You can then grant the Domain account the appropriate permissions on all the servers. Terry "J W" <[EMAIL PROTECTED]> 06/12/2006 03:04 PM Please respond to cf-talk@houseoffusion.com To CF-Talk cc Subject CFFile copy, bigtime permissions issue.. Man has this been driving me up a wall today Here is how it worked. CFFILE copy a file from webserver1 to webserver2 from webserver2. Just a plain windows workgroup, both running windows 2000 server, and mx6.1. Coldfusion running from the local account. \\srv-webserver1\whateverdirectory\file.txt type paths. Here is how its all screwed up. :) I replaced Webserver1 with a new windows 2003 standard webserver w/ all new hardware and renamed it differently. I also hooked both up to join our office domain. Now when I cffile copy over I get this The cause of this exception was: java.io.FileNotFoundException: \\srv-webserver1\I_DRIVE\Export\somedirectory\whatever.txt (Access is denied). I am guessing permissions. Here is the kicker. Can browse to that file and have it come up in a text editor no problem, but I get this permissions error with cold fusion. I have tried every which way but sunday to try to get this right and still it gives me this error. I am about to rip my hair out... ANyone else run into this and how did you solve it?? any help would be appreciated. Need more details, let me know. THanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243255 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
RE: CFFile copy, bigtime permissions issue..
Change the user contest that CF starts up with so that it has permission to access the relevant systems. Paul ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243254 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
RE: CFFile copy, bigtime permissions issue..
I am guessing permissions. Here is the kicker. Can browse to that file and have it come up in a text editor no problem, but I get this permissions error with cold fusion. I have tried every which way but sunday to try to get this right and still it gives me this error. I am about to rip my hair out... Windows 2003 LOCKS DOWN EVERYTHING. We have run into this problem several times. I can't give you a concrete solution, but a way to test that Win2003 is the problem, turn off the firewall, or open it up completely, then try your test. I'm guessing it will work then. Then of course the trick is to find what exception you need to make so that you can have the firewall running and your process still work. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243252 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
CFFile copy, bigtime permissions issue..
Man has this been driving me up a wall today Here is how it worked. CFFILE copy a file from webserver1 to webserver2 from webserver2. Just a plain windows workgroup, both running windows 2000 server, and mx6.1. Coldfusion running from the local account. \\srv-webserver1\whateverdirectory\file.txt type paths. Here is how its all screwed up. :) I replaced Webserver1 with a new windows 2003 standard webserver w/ all new hardware and renamed it differently. I also hooked both up to join our office domain. Now when I cffile copy over I get this The cause of this exception was: java.io.FileNotFoundException: \\srv-webserver1\I_DRIVE\Export\somedirectory\whatever.txt (Access is denied). I am guessing permissions. Here is the kicker. Can browse to that file and have it come up in a text editor no problem, but I get this permissions error with cold fusion. I have tried every which way but sunday to try to get this right and still it gives me this error. I am about to rip my hair out... ANyone else run into this and how did you solve it?? any help would be appreciated. Need more details, let me know. THanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243251 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