You can also get this error when you run out of disk space and ColdFusion
cannot physically write the file to disk.






--------------------------
Sent from my BlackBerry Wireless Device

"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: michael acadia <[EMAIL PROTECTED]>
To: CF-Talk <[email protected]>
Sent: Fri Jul 21 20:30:52 2006
Subject: RE: cfcontent error - IE6 XP SP2 client and Win 2003 server

Is the production server using a "Cache-Control: no-cache" HTTP header? 

I ran into a similar problem yesterday when opening a Word doc served by
<cfcontent> (Win2k3 server). If MS Word was closed when I tried to open
the doc from the web page, the no-cache was deleting the file before
Word started up - resulting in Word's 'file not found' error. If,
however, Word was already open, the doc displayed with no problem.
Never had any trouble saving the file to my desktop.

FWIW, this behavior was only occurring in IE6 - Firefox had no problems.

Since I need the no-cache in place, my solution was to drop the
'attachment' value from <cfheader>:
<cfheader name="Content-Disposition" value="filename=#filename#">
instead of
<cfheader name="Content-Disposition"
value="attachment;filename=#filename#">

IE now displays the Word doc inside the browser (not what I wanted), but
at least the user doesn't get an error.

hth,
-michael




> -------- Original Message --------
> Subject: cfcontent error - IE6 XP SP2 client and Win 2003 server
> From: Peter Legg <[EMAIL PROTECTED]>
> Date: Fri, July 21, 2006 2:56 pm
> To: CF-Talk <[email protected]>
> 
> I've got a page that produces and Excel file for the user to either open
or save.  Here's the code:
> 
> <cfcontent type="application/msexcel">
> <cfheader name="Content-Disposition"
value="attachment;filename=#filename#">
> 
> This works fine from my Win2000 PC.  However, it can't be opened using IE6
on an XP service pack 2 PC when hitting the production site, a Win 2003
server.  The file can be saved.  When accessing the development site, a Win
2000 server, both open and save work from this PC.
> 
> Here's an example of the error:
> 
> C:\Documents and Settings\username\Local Settings\Temporary Internet
Files\Content.IE5\89GL2345\filename.xls could not be found....
> 
> It obviously has to do with the ability to read/write to the Content.IE5
directory, which isn't visible, but just haven't been able to figure it out.
I've been able to reset the attributes of the folder in order to see it but
that hasn't solved the problem either.
> 
> Any ideas?
> 
> Thanks, Peter
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247588
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to