Shawn,

I had this problem too.  What Dave said is right -- it IS a permissions 
problem.  He led me to this solution a couple of months ago:

I have a "PDFS" directory that is not in the web root for a certain web 
application.  I serve the PDF files to the user via <cfcontent ...>  The 
directory that contains these files needs to be accessible to the 
IUSR_MACHINENAME account with READ rights only (for security reasons) 
for cfcontent to work properly.  If the files you are serving are 
available through a web link, then you don't need to change any 
permissions (not your case most likely) since the web accessible content 
is already running under the IUSR context.

Andy

> -----Original Message-----
> From: Shawn Grover [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 19, 2001 9:52 PM
> To: CF-Talk
> Subject: CFContent problem - need urgent help
> 
> 
> We have a site that uses the CFContent tag for downloading files to 
the
> user.
> We ran into problems with it today where it is giving us 
> blank/empty files.
> If we check the physical file, everything is fine.  
> 
> Funny thing is that this is not happening for ALL files, just most.  
Some
> files are behaving normally.  
> 
> We had the security patches for the Nimda worm applied today, and 
> have since
> re-run the service packs for NT, IIS, and CF 4.5 (the server is 
> CF 4.52, on
> an NT 4 box).
> 
> Examining our code shows that it is most definently the CFCONTENT tag
> causing the problems. If we comment it out, and have our debugging 
code
> running, all the debugging code executes just fine, and indicates 
normal
> operation.  Then the CFContent tag is executed, and it dies.  I'm 
> sure this
> is a server issue, and not a code issue (code was not changed prior to 
the
> problems occuring).
> 
> Any help/suggestions?  I'm checking the forums and web for hints 
> now.  We'd
> like to avoid rebuilding the server if we can.
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to