Solved

PDF irrecognizable code when opened in firefox

Posted on 2011-03-18
4
387 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
  • 3
4 Comments
 
LVL 10

Expert Comment

by:Bawer
Comment Utility
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
Comment Utility
(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
Comment Utility
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
Comment Utility
It works
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now