ColdFusion 9 cffile error Access is Denied -
i getting following error:
the cause of exception was: java.io.filenotfoundexception: //server/c$/folder1/folder2/folder3/folder4/folder5/login.cfm (access denied).
when doing this:
<cffile action="copy" destination="#copyto#\#apfold#\#applic#\#files#" source="#path#\#apfold#\#applic#\#files#">
if try write c:\folder1\folder2\folder3\folder4\folder5\login.cfm
, works fine. problem doing way script developers able manually sync files application folder. have multiple servers each instance randomly picked bigip. writing c:\ drive copy file server developer accessing. if developer close out browser , go right in make sure changes worked, if happen sent different server, won't see change.
since works writing c:\, know permissions correct. i've copied path out of error message , put in address bar on server , got folder/file fine. else stopping being able access server?
it seems want access file via unc notation on network folder (even if incidentally refers directory on local c:\ drive). able this, have change user coldfusion 9 application server service runs on. default, service runs user "local system account" need change actual user. have @ following link find out how this: http://mlowell.hubpages.com/hub/coldfusion-programming-accessing-a-shared-network-drive
note might have add user same name 1 used cf 9 service of file servers.
Comments
Post a Comment