Skip navigation
paule1234
Currently Being Moderated

After upgrade to CF9, CFIMAGE "Unable to create temporary file" error

Jun 18, 2010 3:09 PM

We recently upgraded from CF8 to CF9 Enterprise.  I'm getting an "Unable to create temporary file" error on

my CFIMAGE resize calls.  We use sandbox security.  I assume I need to grant write access to whatever folder CF uses for temp files, but which folder is it?   The same code (and sandbox settings) ran fine in CF8....

 

Note, if I attempt to add C:\JRun4\servers\cfusion\SERVER-INF\temp to the sandbox for this particular app, CF crashes on all requests across all apps on the server with a:

 

Security: The requested template has been denied access to C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses\cf app2ecfc1510154633.class.
The following is the internal exception message: access denied (java.io.FilePermission C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses\cf app2ecfc1510154633.class read)

ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.

 

 

I need to restart CF to get everything working again.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points