Skip to main content
Inspiring
October 5, 2020
Question

ColdFusion 2016 Update 16 PDF / Cfcontent issue

  • October 5, 2020
  • 1 reply
  • 320 views

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

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    October 5, 2020

    Could you share the cfdocument/cfcontent code?

    ebcohenAuthor
    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">

    ebcohenAuthor
    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.