Windows 7 - PDF is not Opening in Windows 7 with IE 9

Asked By Arun D on 13-Feb-12 05:41 AM
Hi,

Clicking "Open/Save" button in the File Download will close my ASP Popup Page and PDF file will open in Windows XP with IE 8. I used  Onblur="Windows.close" in Body of the html to close the ASP page. But it's not working in windows 7 with IE 9. When i click open in the notification bar, the page gets closed and the PDF is not opening at all. Please help me to resolve the issue.

Somesh Yadav replied to Arun D on 13-Feb-12 06:31 AM

Hi,

It depends apon how the web site has been coded.... since it works when you turn on compatiblity view... this suggests that the web site uses UA sniffing and seves different code for what 'it' thinks is the correct browser.

links to pdf documents in search results may be using redirects..... check that you are accepting the default IE security zone settings... Tools>Internet Options, Security tab, click "Reset all zones to default".

do you have the address of a web site that shows this behavior?

Possibly, the Adobe Reader uses an IE Addon - "PDF Link Helper" to determine how to open files with a PDF extension... perhaps you have disabled that Addon or its behaviour in IE9 standards mode is different, although there have not been any similar questions to yours.

I recommend that you do not use the ActiveX adobe pdf reader to open PDF files in the web browser. You configure Adobe Reader to not use the browser to open pdf files by...

Start>Search.... Adobe Reader

select Edit>Preferences>Internet, uncheck "Use browser todispay pdf"


try the workaround above (viz turn off opening pdf documents in the browser) and see if the issue persists or post back with a link to a web site that has the problem.

Regards.