Hi, All:

 

I have a query that selects a BLOB field (embedded file) from a table.
Then I use cfcontent to output the string to the browser. The code has
running fine until today all of a sudden it won't display the files. All
the files in that BLOB field are pdf files. The code looks like this:

 

<cfquery name="get_doc" datasource="#dsn#">

SELECT contents

FROM DOCUMENT

where Document.PrimaryKey=#url.DocPK# 

</cfquery>

 

<cfcontent type="application/pdf" variable="#get_doc.contents#"
reset="yes">

 

When the page is run, Adobe Reader is open but with an error message
saying "The file is damaged and could not be repaired." When things like
this happen, where should I look into it? Thanks.

 

Nathan



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311136
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to