I have a library of files on my web site. All files are stored in a
Microsoft SQL Server 2000 database. We are using the cfx_getimage custom tag
to retrieve files from the database and then cfcontent to display the files.

My problem is that we are getting a ton of socket write errors when the get
file page is called. The errors seem to be stemming from the cfcontent tag. 

Message from application log:
"Error","jrpp-126","09/02/03","12:59:04","adlnet","The cause of this output
exception was that: java.net.SocketException: Connection reset by peer:
socket write error. The specific sequence of files included or processed is:
E:\website\wwwroot\screens\shares\dsp_displayfile.cfm "

Code: 
<CFX_GETIMAGE 
DATASOURCE="myDSN"
USER="mySite"
PASSWORD="noneOfYourBees"
SQL="SELECT fileData FROM tblFiles WHERE fileid = 12"
OUTPUT="e:\mydirectory\myfile.doc">

<CFHEADER NAME="Cache-Control" VALUE="7200">
<cfheader name="Content-disposition" value="attachment;filename=myfile.doc">
<cfcontent file="e:\mydirectory\myfile.doc" type="application/msword"
deleteFile="Yes">
Anyone have a similar problem and fix. We are using ColdFusion MX 6.1

Thanks,
Nicholas W. Watson
Software Engineer
Concurrent Technologies Corporation
Phone: (814) 269-2653
Email: [EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to