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
Have something to add?