Skip to main content
June 12, 2013
Question

How can I reenable cfinclude and cffile?

  • June 12, 2013
  • 1 reply
  • 710 views

Today, following windows updates and the subsequent reboot (perhaps coincidentally?), I lost all functionality of cfinclude and cffile.

I'm running IIS 7.5 & CF10 with applicable lockdown rules. Since the problem began - earlier today - when briefly disabling 'resource security' via the CF administrator, cfinclude functions properly. This does not fix cffile and is not an acceptable fix for cfinclude due to security concerns.

The cfinclude error:

access denied ("java.io.FilePermission" "C:\[path&file]" "execute") null

Please advise.

Thank you.

    This topic has been closed for replies.

    1 reply

    June 12, 2013

    I'm really stumped, here.

    Typically any problems I encounter with CF can be resolved by reading others' posts, but not this time.

    Does anyone have ideas of how to narrow down the cause of this problem?

    Thank you.

    Inspiring
    June 13, 2013

    This might seem obvious, esp since things were working before those updates, but have you verified that the user account that the CF service is running under has access to the files that you are trying to access via CFFILE and CFINCLUDE?  The reboot would have restarted the CF service - maybe there was a pending change in the service account info that was waiting for a CF restart?

    BTW, can you give info on just what updates were applied?

    -reed

    June 13, 2013

    Thank you, Reed.

    Since some changes within the sandbox screen [Resource security] do appear to take effect immediately (such as enabling/disabling the sandbox itself), I cannot say for certain I had restarted the service with each change. As it turned out, the hyphens [-] following each of my allowed paths had turned up missing to initiate the problems. Since adding <<ALL FILES>> to that list had not resolved the issue as a temporary test, I incorrectly deduced that the problem was not within that section.

    I wonder how difficult it would be to show discrepancies between applied settings and submitted settings. Or to describe within the insctructions which changes, specifically, are not applied immediately.

    Thank you