« Return to Thread: PDF problems in IE

Re: PDF problems in IE

by Linczak, Jonathan W. :: Rate this Message:

Reply to Author | View in Thread

>> 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?


Yeah, that's what I meant, but I didn't try the other way around -  
checking the browser plug-in.  Where exactly do I change this setting  
in the reader itself?  Using IE on Windows, which is the only  
combination that seems to be having this problem, clicking directly on  
the link causes the text: "The file is damaged and could not be  
repaired.".  When I open up (on the same computer) Firefox and click on  
the same link, it loads just fine in the plugin for Firefox.  But it's  
strange - I had a Windows user that opened up IE and was able to see  
the file when having just an Acrobat 5 reader software.  Reader 6 and 7  
seem to not like it.  And when the computer has the full Acrobat  
version, it loads fine as well.


>> 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


Yup, that's what I was referring to.  I actually made the change to our  
server and it doesn't seem to make a difference.  But while I'd like to  
test with Tomcat, there's no way I'm switching back after the good luck  
I've been having with Jetty.  :)  Here's another document that has some  
discussion on the issue, but no real concrete answers for me, unless  
you see something useful:  
http://72.14.207.104/search?q=cache:JUZXj0O4yXAJ:www.newsarch.com/ 
archive/mailinglist/comp/java/jetty/general/
msg00360.html+Jetty+IE+%22The+file+is+damaged+and+could+not+be+repaired.
%22&hl=en&client=firefox-a.  I'll see if the test instance of Tomcat  
serving the same PDF document solves the issue and post a response  
here.

Jon


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

 « Return to Thread: PDF problems in IE