IE cannot directly explain the Cause Analysis and Solution of PDF

Source: Internet
Author: User
Tags foxit software

>>>>> Question <
Because some systems use IFRAME to display PDF files, sometimes PDF files cannot be explicitly displayed in the streamcompute. Instead, they jump out of the next speaker box, the following conditions are required, which brings a lot of difficulties to the user,
It also caused some trouble for our system administrators. It took us two days to find some rules for IE to open a PDF file and share them with you.

>>>>> Analysis <
I. Improve Environment
Win7 32bit
Ie9
Foxit Reader (version 3.2.1.0401, directly package the previously installed project Foxit Software, and then decompress it on the TV)
Adobe Reader X (version 10.0.0, security package name: adberdr1000_zh_tw.exe)

Ii. Principles
Determine whether or not to open the PDF directly by setting the values in the following two tables:
Hkey_classes_root \ mime \ database \ content type \ Application/pdf \ CLSID
1. If the value of CLSID is a sequence, that is, it does not exist in hkcr \ CLSID (for example, a sequence is a XXXXX ),
If the development program of the PDF file is Foxit Reader, The Foxit Reader settings will be added, and the reader will be enabled outside the stream reader.
If the PDF reader is Adobe Reader X, the corresponding dialog box will be displayed and opened outside the streamcompute.

2. If the CLSID value exists in hkcr \ CLSID, but it is not the correct CLSID value of Foxit Reader and Adobe Reader x
(Two CLSID passed: {0000002f-0000-0000-c000-0000000000000046}: first in CLSID, {22d6f312-b0f6-11d0-94ab-0080c74c7e95}: Windows Media Player)
When the user selects [open,
Regardless of the PDFProgramEither Foxit Reader or Adobe Reader X will be opened outside the streaming reader, regardless of whether it is set to display PDF in the streaming Reader

3. Set Adobe Reader X to open a PDF file in the streaming reader.
Adobe Reader x CLSID:
{CA8A9780-280D-11CF-A24D-444553540000}

If the following parameter value does not exist, it will be displayed in the streamcompute. Otherwise, it will not be displayed in the streamcompute,
Hkcu \ Software \ Adobe \ Acrobat Reader \ 10.0 \ originals \ bbrowserintegration

PS: Adobe Reader x cannot be displayed in PDF when it is in the streamcompute. After [description]/[fixing Adobe Reader security, restart the streaming tool or restart the system.

{CA8A9780-280D-11CF-A24D-444553540000} content
Bytes ---------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000}]
@ = "Adobe PDF Reader"
"Appid" = "{BBAA0E44-3862-490C-8E63-AC2D2D6EF733 }"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ Control]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ docobject]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage]

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage \. FDF]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage \. PDF]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage \. XDP]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage \. XFD]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ enablefullpage \. XFDF]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ implemented categories]

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ implemented categories \ {7dd95801-9882-11cf-9fa9-00aa006c42c4}]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ implemented categories \ {7dd95802-9882-11cf-9fa9-00aa006c42c4}]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ inprocserver32]
"Threadingmodel" = "apartment"
@ = "C: \ Program Files \ common files \ Adobe \ acrobat \ ActiveX \ pdf. dll"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ miscstatus]
@ = "0"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ miscstatus \ 1]
@ = "131473"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ progid]
@ = "Pdf. Example 1"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ programmable]
@ = ""

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ toolboxbitmap32]
@ = "C :\\ progra ~ 1 \ common ~ 1 \ Adobe \ acrobat \ ActiveX \ pdf. dll, 102"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ typelib]
@ = "{05bfd3f1-6319-4f30-b752-c7a22889bcc4 }"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ version]
@ = "1.0"

[Hkey_classes_root \ CLSID \ {CA8A9780-280D-11CF-A24D-444553540000} \ versionindependentprogid]
@ = "Pdf. pdf"
Bytes ---------------------------------------------------------------------------------------------

The parameter is progid @ = "pdf. Example 1"
Bytes ---------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[Hkey_classes_root \ Alibaba pdf. Example 1]
@ = "Adobe PDF Reader"
"Editflags" = HEX: 00,00, 01,00

[Hkey_classes_root \ pdf. 20..1 \ CLSID]
@ = "{CA8A9780-280D-11CF-A24D-444553540000 }"

[Hkey_classes_root \ Users pdf. 20..1 \ docobject]
@ = ""
Bytes ---------------------------------------------------------------------------------------------

Iv. Foxit Reader: Set the PDF in the stream Reader
The clsid of Foxit Reader:
{14e8bbd8-1d1c-4d56-a4424d20b75eb814e}

The values below will be opened in the streamcompute, and vice versa.
Bytes ---------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e}]
@ = "Pdf document"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ auxusertype]

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ auxusertype \ 2]
@ = "Pdf"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ auxusertype \ 3]
@ = "Foxit Reader"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ defaultextension]
@ = ". Pdf, PDF files (*. pdf )"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ defaulticon]
@ = "C: \ Users \ c036503220a \ downloads \ Foxit Software \ Foxit Reader \ Foxit reader.exe, 1"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ docobject]
@ = "0"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ inprochandler]
@ = "Ole2.dll"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ inprochandler32]
@ = "Ole32.dll"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ insertable]
@ = ""

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ localserver]
@ = "C: \ Users \ c036503220a \ downloads \ Foxit Software \ Foxit Reader \ Foxit reader.exe"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ localserver32]
@ = "C: \ Users \ c036503220a \ downloads \ Foxit Software \ Foxit Reader \ Foxit reader.exe"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ miscstatus]
@ = "32"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ printable]
@ = ""

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ progid]
@ = "Foxitreader. Document"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ verb]

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ verb \ 0]
@ = "& Edit, 0, 2"

[Hkey_classes_root \ CLSID \ {14e8bbd8-1d1c-4d56-a4424d20b75eb814e} \ verb \ 1]
@ = "& Open, 0, 2"
Bytes ---------------------------------------------------------------------------------------------

As
Hkcu \ Software \ Foxit Reader \ mainframe \ displayinbrowser
If the value is 1, Foxit Reader sets the parameter box to check whether the parameter is displayed in the streaming reader,
The value is 0.
This setting does not affect how Foxit Reader can open a PDF file in IE.

5. Others
Hkey_classes_root \. pdf handle, although it does not play a direct role when IE handles PDF, it is best to set the correctness
Settings of Adobe Reader x
Bytes ---------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[Hkey_classes_root \. PDF]
"Content type" = "application/pdf"
@ = "Maid. Document"
Bytes ---------------------------------------------------------------------------------------------

Foxit Reader settings
Bytes ---------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[Hkey_classes_root \. PDF]
@ = "Foxitreader. Document"
"Content type" = "application/pdf"
Bytes ---------------------------------------------------------------------------------------------

>>>>> Conclusion <
IE has always published a conversation box. Even if there are preset relevance options in Adobe or Foxit, it still cannot be directly displayed in the streamcompute.
The most direct reason may be that hkey_classes_root \ mime \ database \ content type \ Application/pdf \ CLSID has been set
Set this value to the correct CLSID of Adobe or Foxit. You should be able to solve this problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.