• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cf 2016 serving upto 64k of pdf

New Here ,
Jun 20, 2017 Jun 20, 2017

Copy link to clipboard

Copied

Hello Anyone,

Respectfully request help in this particular matter, here is my situation:

Production Environment:  Windows Server 2008 R2 Standard, IIS7, CF 9 using the following tags:

<cfheader Name="content-disposition" value="attachment; filename=#GetCustPdf.TheStatementFileName#">

        <cfcontent type="application/pdf" variable="#GetCustPdf.TheStatement#">

every pdf is served up correctly and views properly in any pdf reader.

Upgrade Environment:  Windows Server 2012 R2, IIS8, CF 2016 using the same tags:

<cfheader Name="content-disposition" value="attachment; filename=#GetCustPdf.TheStatementFileName#">

        <cfcontent type="application/pdf" variable="#GetCustPdf.TheStatement#">

every pdf over 64k is served up corrupted and does not view at all in any pdf reader.

I added this tag to check for corruption:

       <cffile action="write" output="#GetCustPdf.TheStatement#" file="c:\#GetCustPdf.TheStatementFileName#">

the local file is corrupted and not viewable and has a byte count of 64k.

the database field has the correct datalength which is always over 64k for those in question and has been verified on both environments.

Any help, education is greatly appreciated.

Richard

Views

201

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation