Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PDF irrecognizable code when opened in firefox

Posted on 2011-03-18
4
Medium Priority
?
405 Views
Last Modified: 2012-05-11
I am creating a website with links to the pdf file. The webpages and pdf files are stored in one server. The pdf file can be opened through IE browser but not through the firefox browser.      

0
Comment
Question by:hanjgr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 10

Expert Comment

by:Bawer
ID: 35164893
may be adobe add-on is not present in firefox, install the latest version of adobe pro and check back
0
 

Author Comment

by:hanjgr
ID: 35164943
(All the operations are on the web server!)

The web server has windows server 2003 32-bit, with MS IIS to manage the website.
The PDF files are already stored on the web server.
I use a link <a href="help/quickref/04_Print_a_Map9x2.pdf"> in a html file to open pdf.

I can display pdf file  in firefox from other web sites on the web server.
I can display pdf file stored on the web server in Firefox through "File/Open File...."
but when it comes to website address like :http://rims.gvmc-regis.org/supportcenter/help/quickref/01_How_to_Login9X2.pdf ( even stored on the same server) it gives me "corrupted" things like shown in the pictures.


This is what I have done:

1. I have tried several things according to the post #16012445 and other results I googled on line, installed the foxit reader, not helpful.

2. I have check the the MIME Type setting from IIS manager-> local Computer->property-> MIME Types....
.pdf  extension is set to be with MIME type: "application/pdf". I also restarted the IIS service. Still firefox cannot show the pdf file.

3. I installed  the Live HTTP Header extension on the web server, looking for the header info,
the html file's header includes: Content-Type: image/gif
the corrupted pdf file's header has: Content-Type:text/html
It seems like this is the problem.

I downloaded a MIME edit for firefox and added a new type: application/pdf for extension :.pdf. Still not helped.

All the operations are done on the web server.

I really appreciate any help!

pdf.bmp
0
 

Accepted Solution

by:
hanjgr earned 0 total points
ID: 35168853
I figured it out!
The website is managed by ServletExec. The MIME type for pdf needs to be added over there. --Set MIME Mapping.

0
 

Author Closing Comment

by:hanjgr
ID: 35196740
It works
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question