I am doing a server migration to IIS 8.5 and CF10 and having some issues delivering PDF files. I tried the code using the built in web server and it works without issue so I know the issue is in IIS somewhere. Basically what happens is it truncates the PDF file to the first 749 bytes. I have disabled the compression in IIS and still having issues.
<cfheader name="Content-Disposition" value="attachment;filename=MyPDF.pdf"> <cfcontent type="application/pdf" reset="yes" file="C:\inetpub\wwwroot\MyPDF" deleteFile="no"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm