Skip to main content
Inspiring
October 5, 2020
Question

ColdFusion 2016 Update 16 PDF / Cfcontent issue

After installing update 16 to ColdFusion 2016, my PDF generation code has stopped working. Typically I am using cfdocument to generate the PDF, and the CFCONTENT to push it to the browser. Now I just get timeouts (error 524 via CloudFlare). Prior to the update, it was working fine and it seems other code is working fine too.

 

Thank you

    Ce sujet a été fermé aux réponses.

    4 commentaires

    BKBK
    Community Expert
    Community Expert
    October 5, 2020

    Could you share the cfdocument/cfcontent code?

    ebcohenAuteur
    Inspiring
    October 5, 2020

    Essentially it is just this:

    <cfdocument format="pdf" overwrite="yes" pagetype="letter" filename= "c:\inetpub\...\\#docId#.pdf">

    My content...

    </cfdocument>

     

    <cfcontent file="c:\inetpub\...\\#docId#.pdf" deletefile="yes" type="application/pdf">

    ebcohenAuteur
    Inspiring
    October 5, 2020

    It seems another reboot fixed the problem. I didn't change any code so it is kind of weird that this happened though. It has never been an issue before.