Link to PDF not displaying in IE

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Andy001
Propeller Head
Posts: 14
Joined: Wed Jan 04, 2006 12:17 pm
Location: In front of the monitor

Link to PDF not displaying in IE

Post by Andy001 »

Flare 11. IE 11.
I tried to use a link to a pdf for the first time.....

I placed a PDF file in resources folder with windows explorer and immediately got a popup in Flare saying install ghostscript. I ignored this warning because my company has major lockdown on SW installs.

Went ahead and linked to the PDF. Build the document to run in webhelp. Click the link to the PDF it displayed properly.

I moved the compiled document to the server for others to review and use. When the document is launched off the server the link to the PDF does not work (nothing happens). When I hover over the link, a tooltip path appears and points to the correct location of the PDF file (now at drive X:server.../resources/images). I go in to windows explorer and look to see PDF is there, it is. I locate the htm file in windows explorer (drive X:server/..../content..../topics) and launch it directly in IE11. I test the link to the PDF and it functions properly.

I launched the document from the server in FireFox and it functions properly.

Other info: Mark of the Web was not set.

Any clues as to why the pdf wont display when the document is on the server? IE settings?
Well I used to be disgusted; Now I try to be amused! - Elvis Costello
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Link to PDF not displaying in IE

Post by Nita Beck »

I just hit this problem this week. In my case, it was because MOTW WAS set, and I learned that there is a flaw in IE (not in Flare) such that IE won't launch a PDF if MOTW is set.

But that's not your case, I realize.

Here on the forums, I saw that someone suggested (I think back in 2009) that the problem might be spaces in the PDF filename, that IE doesn't interpret the space correctly and insists on substituting %20%. Why not give that a try, that is, removing the spaces in the filenames? I can't guarantee it'll work but it's worth a shot.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Andy001
Propeller Head
Posts: 14
Joined: Wed Jan 04, 2006 12:17 pm
Location: In front of the monitor

Re: Link to PDF not displaying in IE

Post by Andy001 »

Every file name in my document uses underscores orhyphens between words and there are no spaces. So that's not it.

Still stuck....
Last edited by Andy001 on Mon Sep 21, 2015 6:44 am, edited 1 time in total.
Well I used to be disgusted; Now I try to be amused! - Elvis Costello
MattyQ
Sr. Propeller Head
Posts: 136
Joined: Tue Sep 30, 2014 7:10 am
Location: Roanoke, VA

Re: Link to PDF not displaying in IE

Post by MattyQ »

Andy001 wrote:Any clues as to why the pdf wont display when the document is on the server? IE settings?
This is super unlikely, but is it possible your server is using an outdated/incorrect MIME type to serve the pdfs? I've run into issues before with incorrectly configured servers causing problems with IE. Chrome and Firefox are generally more forgiving, and I think they accept commonly incorrect/nonstandard MIME types. Internet Explorer tends towards draconian enforcement, in certain cases. It can also be malformed/different in the actual PDF itself, which will cause issues in IE. See this Adobe KBA: https://helpx.adobe.com/acrobat/kb/pdf- ... -some.html

Update: StackOverflow for the PDF MIME type, as well: http://stackoverflow.com/questions/3122 ... -pdf-files

Have you tried using the Inspector (Right-click, Inspect Element) feature in Internet Explorer? Is it throwing a 404 error when it tries to load the PDF? Or are you seeing other errors that may be causing a potential issue?
Andy001
Propeller Head
Posts: 14
Joined: Wed Jan 04, 2006 12:17 pm
Location: In front of the monitor

Re: Link to PDF not displaying in IE

Post by Andy001 »

One additional piece of information is that the PDF I'm linking to is a multiple page file. Could that be part of the issue?
Well I used to be disgusted; Now I try to be amused! - Elvis Costello
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Link to PDF not displaying in IE

Post by RamonS »

Multiple pages should not matter. What you may want to do is uninstall/reinstall any PDF viewers or alternatively check the application > file association in Windows. Maybe your IE is confused on what to do with a PDF? I ran into this once where applications attempted to pass PDF display to a PDF viewer that left references behind after uninstall. The result was that no PDF displayed and no error message of any kind trickled up to the top either. Just a guess....
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Link to PDF not displaying in IE

Post by Nita Beck »

Might this Microsoft forum discussion offer any insights? http://answers.microsoft.com/en-us/ie/f ... ed6?auth=1
This doesn't appear to be a Flare issue at all, but an IE issue.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
JMD101
Jr. Propeller Head
Posts: 6
Joined: Tue Jul 21, 2015 8:45 am

Re: Link to PDF not displaying in IE

Post by JMD101 »

I have the same problem. Thought I had a workaround but not quite. If I take out the line:
<!-- saved from url=(0016)http://localhost-->
and change my tag from
<a href="../Guides/HE.pdf">HE</a>
to
<a href="../Guides/HE.pdf" target="_blank">HE</a>
and open the htm file itself, it works. But when opening the page from toc in build, get a blank page.
I want "Mark of the Web" for my overall project, but this will cause the pdf not to open. Anyway around this?
Post Reply