0 Replies Latest reply on Dec 10, 2012 12:54 PM by stevelogan19075

    CF10 IIS7.5 500 errors cffile read outside of web root

    stevelogan19075 Level 1

      CF10 on Win 2K8 with IIS 7.5.  My webroot is d:\web[sitename] with [sitename] being a folder for the actual site. I want to read a .txt file stored elsewhere - say d:\web\somefile.txt or d:\somefile.txt, but seemingly no matter what permissions I give the file or it's parent folder I keep getting a file not found error:


      An error occurred when performing a file operation read on file d:\web\somefile.txt.
      The cause of this exception was: java.io.FileNotFoundException: d:/web/somefile.txt (The system cannot find the file specified).



      My CF service runs as a specific user and I've given that user everything from read to full control of that file and still no dice.  My IIS app pool also runs as a specific user and adding permissions for it also doesn't help.


      Is this something with Tomcat that I need to configure?  If so, how?