Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 831
  • Last Modified:

Security: The requested template has been denied access to E:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp65513.tmp.

cffile: upload, when run gets the following error:

Security: The requested template has been denied access to E:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp65513.tmp.  
The following is the internal exception message: access denied (java.io.FilePermission E:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp65513.tmp read)  

So it seems it can write the file, but cannot read it ??

I added an entry for this folder in sandbox giving it rights to cffile ?? with permission to all tags and functions.
The win 2000 server folder hase read write permissions for everyone.

Could this be a JVM policy issue. Maybe coldfusion.policy. File look good to me compared to our dev server. I think we just applied patch to 7.1
0
gwcunning1
Asked:
gwcunning1
  • 2
1 Solution
 
usachrisk1983Commented:
Does it work with SBS Turned off?  Some issues when using Sand Box Security -- one relates directly to CFFILE and talks about setting up permissions on other folders:

http://www.talkingtree.com/blog/index.cfm/2006/7/11/SBS-Known-Issues

There's also some talk here about setting up perms for SBS when using CFFILE:
http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:39955#205176
0
 
gwcunning1Author Commented:
Stupid me, I was trying to set up the temp dir with permissions instead of the file tab in the sbs app. Thanks for the pointer to known issues. That fixed it.
0
 
usachrisk1983Commented:
Could you accept the answer, please :) ?
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now