Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

PDF Download Problems with IIS7

$
0
0

Hi,

I've very recently migrated from a Windows 2003 Standard edition server to a Windows 2008 Server and I'm having problems with PDFs.  When I try to download PDFs, in IE8 they will sometimes download successfully, sometimes partially download and not open and sometimes not open at all.  In Firefox, they just won't open.  I have changed the in-built file download limit of ASP in IIS7 to 15MB from 4MB and that made no difference (my files range in size up to 12MB). 

The only difference from when my files downloaded properly to now is the change in OS on the server and therefore going from IIS6 to IIS7.

The files are all appropriately FTP'd onto the server, they are not corrupted (they open perfectly fine on the server itself).  I am absolutely stumped as to what the problem is - possibly an incompatibility between IIS7 and Adobe PDFs of a certain size?  Am I missing a setting in IIS7 which will solve this easily and quickly?

As a workaround I have tried to change the MIME type in IIS7 for PDFs to application/octet-stream and also tried x-application/attachment to force IE and Firefox (plus other browsers) to download the PDFs rather than try to view them in the browser, which Firefox does perfectly but IE still insists on trying to view in the browser.

A strange fact is if you download the PDF in Firefox but 'open with Internet Explorer, IE actually opens the file perfectly whereas if you try to open the link directly in IE, it only partially downloads and then stops.

I'm really, really hoping someone can help me as I don't know what the next step is if I can't fix this and the workaround doesn't work!

Kind regards,

Aremac


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>