I would check the response headers for any hints, you may be getting a
mismatch with the expected content length.
Also, take a look at this setting in IIS and see if disabling it helps:
http://screencast.com/t/H03SiWuabri
If so, then you may just need to tweak the value.

On Sun, Nov 9, 2014 at 5:17 PM, John Blayter <[email protected]> wrote:

>
> 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:359580
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to