I've experienced a few cfdocument errors in the past...
There are two things you can try that have helped me. One is to
increase the heap size of the JVM that runs CF. If you have a complex
document or one with multiple images, it can easily run out of space.
The other is to move all the processing out of the CFDOCUMENT
statement. Either create a variable and append information to it, or
just use a CFSAVECONTENT tag around all your processing.
Example:
<cfsavecontent variable="variables.tempdoc">
<!--- Normal Document processing --->
</cfsavecontent>
<cfdocument format="pdf">
<cfoutput>#variables.tempdoc#</cfoutput>
</cfdocument>
Hope this helps...
Frank
On 02/03/2010 02:48 PM, John Youngman wrote:
perhaps the adobe renderer engine (if
that’s what it is - that’s me trying to sound all smart hahaha) is
having an issue with one or more of the characters in your output... is
there anything funny with it?
Sent: Wednesday, February 03, 2010 1:37 PM
Subject: Re: [ACFUG Discuss] cfdocument error
I've had that happen before and the fix I usually found for that
was to open in a new window but that is a different issue than this.
When that happens there is no error message associated, just a bunch of
weird characters. The issue I am having is actually throwing an Adobe
error message that reads "the file is damaged and could not be
repaired".
In my debugging process, I created the document in Flashpaper
and it is displaying.
On Wed, Feb 3, 2010 at 2:17 PM, John
Youngman <[email protected]>
wrote:
Does it happen EVERY time? sometimes for
me, it prints out weird characters, but I do a complete refresh, and it
works...
Sent: Wednesday, February 03, 2010 1:11 PM
Subject: [ACFUG Discuss] cfdocument error
Has anyone ever had an issue with a pdf file created with
cfdocument being corrupt? I've tried dumping the data outside the
cfdocument and it works fine but when I simply put it in a simple tag
<cfdocument format="pdf">, the browser load really slow and then
I get an error message saying cannot display the document it is corrput.
Anyone ever experienced this?
Thanks,
Jeff
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
|