Blank screen area result with Acrobat Reader 6.0 from Report Publishing and streamed Web Goto .PDF

5 January 2004

Issue Description

From a workstation where Acrobat Reader 6.0 is installed with a default configuration with Internet Explorer, a blank screen area results in the frame where a .PDF files is expected from Report Publishing and streamed Web Gotos.

When working in its default configuration with Internet Explorer, Acrobat Reader 6.0 requires the MIME type of application/pdf to be sent by the Web Server that sends down the PDF. Previous Versions of Acrobat Reader did not require a particular MIME type, as they would accept AnyView's default of application/x-msdownload.

The AnyView engine looks up the MIME type to send for any "Streamed" files (Gotos and Report Publishing) - For files ending in .pdf, It looks this value up in the registry under [HKEY_CLASSES_ROOT\.pdf], It checks the "Content Type" subkey which should have the value: "application/pdf". This subkey value will exist as long as PDF processing application (such as Adobe Acrobat Reader) has ever been installed on the IIS server that is running AnyView.

However, if this is not the case, then when the AnyView engine serves up .PDF files as the result of a Web Goto or Web Report Publishing request, it will mark them as MIME type application/x-msdownload and Acrobat Reader 6.0 will not process them correctly, thus resulting in the blank screen.

Solution

To resolve this issue, ensure that the IIS Server has a correct Content Type entry for the .pdf extension in one of the following ways:

  1. Install Acrobat Reader on the IIS server.
    As of the writing of this document, Adobe Reader software is available for free at Adobe's web site at http://www.adobe.com/products/acrobat/readermain.html
  2. From the IIS Server, click on the Attachment link below to add this content type to the registry.
    Alternately, you can download the attachment and open the file with Windows Explorer from the hard drive.
    1. You will receive a prompt, "Are you sure you want to add the information in http://www.accountable.com/Support/KBAttachments/pdf_type.reg to the registry?" Select 'Yes'.
    2. You will then receive the message, "Information in http://www.accountable.com/Support/KBAttachments/pdf_type.reg has been successfully entered into the registry." Select 'OK'.

Attachment: pdf_type.reg (Right Click and choose 'Save Target As...' to download.)

Technical Note - Adding .pdf to the mime type map of IIS will not fix the issue, as the AnyView engine does not consult this mapping for streamed files.

If this does not resolve the problem, please contact the Accountable Software Technical Support Team for further assistance:

Phone: 484-875-0600 ext. 9
Email: Accountable Software Technical Support Team

Site Map