tags:

views:

25

answers:

1

i have asp .net website where i open a .pdf file. it opens fine on IE but refuses to open on firefox or other browsers. why is that?

Error - There was an error processing a page. There was a problem reading this document
(109)

A: 

A few things to check:

  • Are you setting the content-type correctly?
  • Are you url-encoding the PDF's file name?
  • If you save the PDF to disk, does it open with a standard PDF reader?

It would also be good to know where the PDF is coming from. Is it just a static resource or are you generating it?

Seth