|
Prev: HTTP 302 (Response.Redirect) to mms:// URL gives error, to http:// is ok.
Next: Special Character Font Problem
From: TrailBlazer on 27 Feb 2006 12:06 Hi - Been struggling over this issue for a long while. We store PDF's in our SQL Server database. And I do a BinaryWrite to display the PDF. It works for me without issue, on FireFox, IE, and Opera! But we are receiving feedback that some users are receiving the file does not begin with %PDF message. ExecString = "spwEcoTrackUser " & Session("EcoUserID") & ",'coupon'," & ID set dbConn = Server.CreateObject("ADODB.Command") dbConn.ActiveConnection = conn dbConn.CommandText = ExecString dbConn.Execute ' writes out the PDF Response.ContentType = rs("CouponContentType") Response.BinaryWrite rs("CouponData") I have seen several posts about this issue, but no true solution. Can anyone help? THANKS!!!! |