[Mono-bugs] [Bug 74688][Nor] New - Cannot create 'download' page for inline PDF viewing with IE

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 16:40:01 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by eto@shaw.ca.

http://bugzilla.ximian.com/show_bug.cgi?id=74688

--- shadow/74688	2005-04-21 16:40:01.000000000 -0400
+++ shadow/74688.tmp.25099	2005-04-21 16:40:01.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 74688
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eto@shaw.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot create 'download' page for inline PDF viewing with IE
+
+Description of Problem:
+Typically, when you want to transfer a file to the client via code (cuz the
+file is in a db, for example), you create a page that will change the
+response headers and then spit out the file for them to download.
+
+This works, however something with the response headers make it so IE does
+not display a PDF if the 'Display PDF in browser' is turned on in the
+Acrobat Reader.  The page loads, but is blank.
+
+This works fine with MS.NET 1.1.
+
+Steps to reproduce the problem:
+1. Unzip attached sample
+2. Run using XSP
+3. Install Acrobat Reader 6.0 is installed on a windows machine (if not
+already)
+4. Ensure that the 'Display PDF in Browser' flag is turned on in the
+Preferences->Internet section
+3. Browse to the WebForm1.aspx page using IE
+
+Actual Results:
+A blank page is shown
+
+Expected Results:
+The PDF is shown in the browser using the acrobat reader plugin.
+
+How often does this happen? 
+Every time
+
+Additional Information:
+I am guessing this is due to variations on the response headers?  I don't
+know how to get what headers are being sent.
+This works when the 'Display PDF in browser' is turned off (NOT the
+default), or if you use Firefox.
+
+This is pretty crucial for us to have our product ported, as we have no way
+to control what the end user has configured on their machine.