troubleshooting Question

File does not begin with %pdf-

Avatar of Mike Howard
Mike Howard asked on
Microsoft IIS Web ServerHTTP Protocol
2 Comments1 Solution2297 ViewsLast Modified:
We are using fpdf to dynamically create a pdf based on search strings against a database.  On our test box it works just fine, but our production boxes return "File does not begin with %pdf-".

All of the boxes are Windows 2003 SP2 running IIS6.

I've gone through the config for IIS6 on the test box and compared it to the production boxes.  (We load balance the site, hence the two production boxes.)  The MIME file type for .pdf is set to application/pdf.  I've tried application/x-pdf as well and gotten the same result.  

I saw a mention of KB944533 potentially interfering, but that is not installed on any of the servers in question.  .NET version is set to the same (1.1) on all of the boxes.  I've tried 2.0 and same result.

As I said, the .pdf displays on the client when browsing to the test box, not from the production boxes though.  To make things better, if I try to browse to a .pdf directly on the production boxes, it works fine.

Odd issue, so any insight is welcome.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros