I am creating a csv file from oracle, then writing it to a shared server to be 
accessed by another system. When I run the program on my test server (which is 
inside the domain), the program runs fine and the file writes to the share 
server.

When I run this in production (our web server) I receive the following error. 

An error occurred when performing a file operation write on file 
\\server\directory\file.csv. The cause of this exception was: 
java.io.FileNotFoundException: \\file \\server\directory\file.csv. (Access is 
denied). <br>The error occurred on line 18. 

In the scheduled task I am logging in as a domain admin, coldfusion is also 
logging in as a domain admin. 

any ideas?

here is line 18 in case

<cffile action="write"
             file="\\server\directory\file.csv"
             output=""
             nameconflict="overwrite">


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to