some can show accurate

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for COM/ActiveX (v4.x)  /  Display Thread

DynamicPDF Generator for COM/ActiveX (v4.x) Forum

 Nov 19 2009 1:41 AM
The same ASP program in different browsers, some can show accurate
PDF and Some CAN NOT ,Appears below the text

%PDF-1.4 %???? 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<>>>>> endobj 4 0 obj<>>>>>
endobj 5 0 obj<>>>>> endobj 6 0 obj<>>>>> endobj 7 0 obj<>>>>> endobj 8 0 obj<>>>>> endobj
9 0 obj<>>>>> endobj 10 0 obj<>>>>> endobj 11 0 obj<>>>>> endobj 12 0 obj<> endobj 13 0
obj<>stream x??Z]?Wk?A,(??c ?!Y??????m…tY$??J???q3µ?6f?&1?'K ????
§f,?5—3??\2Z?zk}fmFp–????a€6?De?j€: ? …N?+B-??|l*?.???r&?6??·??????<]?W2
would you any idea ?

 Nov 19 2009 10:28 AM
Posted by a ceTe Software moderator

The text you have posted is actually the PDF code. Our product will send this PDF stream to the browser and browser will open the PDF using a PDF reader which is associated with it.

This problem you are getting is most probably because of some stray HTML text getting added to the PDF stream. Please try adding the Response.End() right after the DrawToWeb method of the document object to stop the stray HTML and see if it works for you.

This also may be caused by the corrupted Adobe reader plug-in for the browser. Please try reinstalling the Reader and see if it works for you.

ceTe Software Support Team.
 Nov 19 2009 8:00 PM
Problems have been found .
THAT is getting some Java script Before PDF stream.

Before adjustments ..
<script language="javascript">
DIM MySqlConn, MyStrConn
DIM  MyPage,MyTable

AFTER adjustments ..
DIM MySqlConn, MyStrConn
DIM  MyPage,MyTable

All are correct

All times are US Eastern Standard time. The time now is 1:41 PM.