Why am I unable to open PDFs greater than 5mb in SharePoint 2010?

We recently upgraded to SharePoint 2010 Service Pack 1. We are now unable to open a PDF greater than 5mb in a browser. If I attempt to open a PDF greater than 5mb the process eventually times out and the PDF is not displayed. However, I can download a copy of the PDF and open it with Acrobat. Browser File Handling is set to "Permissive" on the Web application.


Jim Baround


6 Answers

Voted Best Answer

Apparently there is a new security feature in IE8 that SharePoint 2010 respects and there may be other changes necessary in SharePoint for the Browser File Handling issue.
Here is a link to a forum thread from the SharePoint Developer Center that may help:
http://social.msdn.microsoft.com/Foru...


By Lori Kassuba   

Lori, thanks for the reply. We don't have a problem opening PDFs in a browser as long as they are 5mb or smaller. The problem only occurs when trying to open PDFs larger than 5mb.


Jim Baround   

Are you getting any information from the Event logs?


Lori Kassuba   

Nothing in the Event logs on the client machine or the server. Nothing in the ULS logs either.


Jim Baround   

I had the exact same problem down to the T and was finally able to resolve it by loosely following some of the steps Lori linked above. Even though small pdfs (under 5mb) would open fine, my user would have to download the files to his local drive in order to open anything larger.

The fix was in Acrobat (Pro X) I went to Edit --> Preferences and then chose "Internet". From there I disabled "View in Browser" so that it would force the pdf to open in Acrobat, but I think more importantly I unchecked "Allow fast web view" and "Allow speculative downloading in the background". I also changed the connection speed to LAN for good measure and it works like a charm!

Hope this helps anyone else having this issue.


T L   

Issue was Diskeeper installed on the WFE servers in SharePoint. When SharePoint tries to upload a large file it temporarily writes the file to disk in

  • Drive: \Users\service account\AppData\Local\Temp\WebTempDir
Based on a setting called large-file-chunk-size, SharePoint will then write the file to the database in small increments. The problem was that Diskeeper did a dynamic defrag as soon as the file was written to the temp directory. Removing Diskeeper resolved the issue.


Jim Baround   


Please specify a reason: