« Return to Thread: PDF problems in IE

Re: PDF problems in IE

by Josias Thöny :: Rate this Message:

Reply to Author | View in Thread

On Wed, 2005-08-31 at 12:03 -0400, Jonathan Linczak wrote:

> On Aug 25, 2005, at 12:05 PM, Josias Thoeny wrote:
>
> > On Thu, 2005-08-25 at 10:08 -0400, Jonathan Linczak wrote:
> >> Hi all,
> >>
> >> Has anyone noticed an issue where only IE users, when they click on
> >> PDF
> >> documents, get a message that says that the PDF document is damaged?
> >> This doesn't happen for Firefox or other browsers.  I did some
> >> searching in the Jetty support lists to see if anyone was experiencing
> >> something similar and I found this:
> >>
> >> http://news.gmane.org/find-root.php?
> >> message_id=%3cdcoqv0%24j69%241%40sea.gmane.org%3e
> >
> > Hi Jon,
> >
> > It might have something to do with
> > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2
> >
> > The Acrobat Reader Browser-Plugin uses Range-Requests if the option
> > "Allow Fast Web View" is enabled. The MediaResourceReader of Cocoon
> > does
> > not understand these requests.
> > You could try to disable the "Allow Fast Web View" option to see if
> > this
> > is the problem.
> >
> > But you said it works with Firefox, so maybe it's something else.
> > Can you give the exact error message?
> >
> > hth,
> > Josias
>
>
> Hi Josias,
>
> Sorry for the late reply.  I checked one file that I know we are having
> problems with and it already does not have Fast Web View enabled, so
> that can't be the issue.  Again, this is only with IE when the user
> clicks directly on the link and tries to load the PDF document in their
> PDF reader plugin (Adobe Acrobat reader).  All other browsers that I
> know of work, and users of IE will work when they right-click on the
> document and save to disk first before opening.

Hi Jon,

You mean the PDF file itself was not built with support for fast web
view?
I was talking about an option in the Adobe Acrobat Reader, which causes
the reader plugin not to try "fast web view" when downloading a file,
independent of the PDF file supporting it or not. But I don't know if it
makes a difference.

When you open the file in a different browser, does it use the plugin to
display the PDF file directly in the browser?


>
> That link I gave had a solution and it dealt with changing some config
> file in Jetty.  I haven't been able to find this file in the Lenya
> release, so I assume the version of Jetty that comes with Lenya is just
> the binary with nothing to change.  Can someone confirm this and then
> know of a way to fix this problem?  I can't believe no one else is
> running into this problem besides me and Annie?!  :)

Do you mean
"Bingo! When I set acceptRanges to false in webdefault.xml, the problem
goes away." ?

The webdefaults.xml file is located at
[LENYA_HOME]/tools/jetty/conf/webdefaults.xml

That thread talks about serving byte ranges. This is what the "fast web
view" option does, it uses byte range requests to download only parts of
the PDF file.
So disabling this option in the reader should have the same effect as
disabling it in the server.

If nothing else helps, you could try a different servlet container, like
Tomcat, to see if it's a jetty problem.

Josias

>
> Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: PDF problems in IE