RE: Compression give PDF Blank Page!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hello,
\par
\par Thank you for posting.
\par
\par From your post, my understanding of this issue is: when you open pdf files from a SharePoint site using Adobe Reader 7.01, when you first click on the link you will see a blank page. If you refresh the page the document will load. You are using compression on your IIS site. If this is not correct, please feel free to let me know.
\par
\par I have found some information that looks like it may be related to this issue. First, I have seen cases where there were special characters in use in the Path or file name of the PDF file, and that these characters caused problems with opening PDF files. Can you confirm that there are no special characters (apostrophe, hypen, etc) in the path or file names? If there are, please try removing them and retesting.
\par
\par Also, it seems that the recommended practice when hosting Sharepoint sites that have PDF documents on them is to NOT run IIS compression. As PDF files are already quite compressed, you will actually take a fairly significant performance hit when trying to process these files through an IIS site running compression. As you have noted that they load correctly when compression is turned off, I imagine that you may be running into a page loading problem based on the slower performance.
\par
\par SharePoint is designed to handle all requests through its isapi dll. So it is not possible to configure a SharePoint site's IIS website to compress one type of file and not to compress others. The compression filter depends on IIS path parsing to determine what to compress. Since SharePoint takes over the request, the compression filter never knows the response is a pdf file.
\par
\par There are 3rd party compression filters that work by looking at the content type, and you may be able to make use of one of these in order for you to enable compression on your site but not enable compression for PDF documents. I believe xCompress can help with this.
\par
\par Here is the link for xCompress info:
\par http://www.xcache.com/home/default.asp?c=54&p=522
\par
\par This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
\par
\par Please let me know your results with the above information so that I can provide further assistance on this problem. I look forward to your reply.
\par Hope this helps!
\par
\par Sincerely,
\par
\par Dana Brash
\par Microsoft Online Partner Support
\par
\par When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
\par =====================================================
\par Business-Critical Phone Support (BCPS) provides you with technical phone support at no charge during critical LAN outages or "business down" situations. This benefit is available 24 hours a day, 7 days a week to all Microsoft technology partners in the United States and Canada.
\par
\par This and other support options are available here:
\par BCPS: https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
\par Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
\par
\par If you are outside the United States, please visit our International Support page: http://support.microsoft.com/common/international.aspx.
\par =====================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par Thread-Topic: Compression give PDF Blank Page!
\par thread-index: AcVKKaf4LVKYNBXFS3S7oTfMyuucgw==
\par X-WBNR-Posting-Host: 195.67.90.253
\par From: "=?Utf-8?B?cmljaG9vMjAwMEBub2VtYWlsLnBvc3RhbGlhcw==?=" <richoo2000@xxxxxxxxxxxxxxxxx>
\par Subject: Compression give PDF Blank Page!
\par Date: Mon, 25 Apr 2005 23:32:02 -0700
\par Lines: 6
\par Message-ID: <8D198739-2FCE-4978-B043-AFCCF5859C37@xxxxxxxxxxxxx>
\par MIME-Version: 1.0
\par Content-Type: text/plain;
\par \tab charset="Utf-8"
\par Content-Transfer-Encoding: 7bit
\par X-Newsreader: Microsoft CDO for Windows 2000
\par Content-Class: urn:content-classes:message
\par Importance: normal
\par Priority: normal
\par X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
\par Newsgroups: microsoft.public.sharepoint.portalserver
\par NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
\par Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
\par Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sharepoint.portalserver:22220
\par X-Tomcat-NG: microsoft.public.sharepoint.portalserver
\par
\par I have problems to open pdf files from my share point after upgrade to reader
\par 7.01. I click on the link and explorer show a blank page. If I reload the
\par page the pdf files open without problem, so it's just first time. Its works
\par good with reader 5, but I need to upgrade to 7.
\par If i turn of the compression on IIS it's working good but i need to have the
\par compression enable..
\par \pard
\par
\par }


















Relevant Pages

  • RE: Compression give PDF Blank Page!
    ... \par Microsoft Online Partner Support ... Compression give PDF Blank Page! ... \par> problems with opening PDF files. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Error Code: 500 Internal Server Error. - PDF attachments
    ... There has been issues with accessing PDF files when using the compression ... filter with isa 2004 sp2. ... .pdf email attachments work fine EVERYWHERE except via webmail ...
    (microsoft.public.isaserver)
  • RE: Compression give PDF Blank Page!
    ... We are not using any special characters so the problem is on the server side ... Adobe reader 7 ore disable compression ore change the compression software. ... > problems with opening PDF files. ... > Microsoft is providing this information as a convenience to you. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Compression contests
    ... Thanks for posting that as I didn't know about the site. ... I have only basic math skills and don't know about theories regarding compression, ... smaller sequence of binary then I should also be able to recursively ...
    (comp.compression)
  • Re: WSS document library: corrupted zipped files
    ... people have said that they have had problems with pdf files and that on ... removing IIS compression the problems went away I can't be 100% sure. ... > corrupting PDF files as long as we aren't compressing them? ...
    (microsoft.public.sharepoint.windowsservices)