Streaming Large PDFs to browser
Posted on 2002-03-08
I am having problems streaming a large PDF to a browser. When I execute the code(see below) for a smaller file, everything works fine. However, if the file is large (~300 K) I get an Acrobat Reader error, "Error reading linearized hint data". If I change the Acrobat Reader preference to not "Allow Fast Web View", everything works fine. However that is not a good solution for me. Please help me.
Response.Buffer = True
Set oMyObject = Server.CreateObject("MyObject.BinRead")
Set oMyObject = Nothing