1 Reply Latest reply on Apr 25, 2007 1:16 PM by insuractive

    JavaLoader.cfc error

    JohnGree Level 1
      Hi i have just started getting a error message, but not sure why?

      i have not changed any code at all, can someome please help me

      error is

      Security: The requested template has been denied access to cfdirectory.
      The following is the internal exception message: access denied (coldfusion.tagext.GenericTagPermission cfdirectory)

      The error occurred in D:\inetpub\vhosts\thesmsengine.com\httpdocs\JavaLoader.cfc: line 123
      Called from D:\inetpub\vhosts\thesmsengine.com\httpdocs\JavaLoader.cfc: line 63
      Called from D:\inetpub\vhosts\thesmsengine.com\httpdocs\geoLocator.cfc: line 82
      Called from D:\inetpub\vhosts\thesmsengine.com\httpdocs\Home.cfm: line 25

      121 : </cfscript>
      122 :
      123 : <cfdirectory action="list" name="qJars" directory="#path#" filter="*.jar" sort="name desc"/>
      124 :
      125 : <cfloop query="qJars">

        • 1. Re: JavaLoader.cfc error
          insuractive Level 3
          Are you in a hosted environment? <cfdirectory> can be blocked in the cf administrator? Many shared hosting providers deactivate this tag. If you are in a shared hosting environment, its possible you provider just made a change to the CF admin on the box. Otherwise:

          1) Doublecheck the cfadmin on your server
          2) Make sure the user account CF is using has OS access to the folder/files.