Try this instead of that.
<cfcontent
type = "text/html"
file = "C:\CFusion\wwwroot\myapps\cfcontent_message.htm"
deleteFile = "No">
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Mon, Nov 10, 2014 at 1:44 PM, John Blayter <[email protected]> wrote:
>
> Yes there is a mismatch on the Content-Length variable. I tried setting it
> manually without any luck.
>
> <cfset variables.temporaryFilePath = "C:\inetpub\wwwroot\MyPDF.pdf">
> <cfheader name="Content-Length"
> value="#getFileInfo(variables.temporaryFilePath).size#"/>
> <cfheader name="X-Content-Length"
> value="#getFileInfo(variables.temporaryFilePath).size#"/>
>
> There are no entries in the Output Caching at the global or website level
>
> >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.
> >
> >
> >
> >>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:359585
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm