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

164

Likes

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