No PDF shown

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
PKramer
User
Posts: 4
Joined: Tue Dec 17, 2013 4:43 pm

No PDF shown

Post by PKramer »

Hello, we are testing PDF-XChange viewer/editor for our enterprise and had no issues until this problem which unfortunately is a major problem as it is how our employees obtain, pay stubs and w2's. When accessing ADP's iPay system to obtain these docs, we are getting a blank area dsplayed where the PDF normally appears. See attached screenshot.

Here is the relevant code from the page that dsplays the PDF:

Code: Select all

<TBODY>
<TR style="VERTICAL-ALIGN: top">
<TD style="BACKGROUND: red" height=1><IMG border=0 src="/iPay/private/images/blank_pixel.gif" height=1></TD>
<TD width=5><IMG border=0 src="/iPay/private/images/blank_pixel.gif" height=1></TD></TR>
<TR style="VERTICAL-ALIGN: top">
<TD style="VERTICAL-ALIGN: top">
<TABLE id=table5 border=0 cellSpacing=0 cellPadding=0 width="100%" height="100%">
<TBODY>
<TR style="VERTICAL-ALIGN: top">
<TD style="VERTICAL-ALIGN: top">
<DIV id=DivShowPDF>
<SCRIPT src="/iPay/private/content/contentShowPDF.js"></SCRIPT>

<OBJECT id=ObjectPDF classid=clsid:CA8A9780-280D-11CF-A24D-444553540000 width="100%" height=700><PARAM NAME="_cx" VALUE="xxxx"><PARAM NAME="_cy" VALUE="yyyyy">
<embed src="iPayStatementsServ.pdf?r=aaaaaaaa.bbbbbbbb" width="100%" height="700"><noembed>Your browser does not support embedded PDF files. </noembed></embed></OBJECT></DIV>
<HR>
</TD>
<TD width=20>&nbsp;</TD></TR></TBODY></TABLE></TD>
<TD width=5>&nbsp;</TD></TR></TBODY>
and the contents of the contentshowPDF.js is:

Code: Select all

var strRandomNumber= Math.random()*99999999; 
document.write('<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="700" id="ObjectPDF">');
document.write('<param name="SRC" value="iPayStatementsServ.pdf?r=' + strRandomNumber + '">');
document.write('<embed src="iPayStatementsServ.pdf?r=' + strRandomNumber + '" width="100%" height="700">');
document.write('<noembed>Your browser does not support embedded PDF files. </noembed>');
document.write('</embed>');
document.write('</object>');
The first time you view the site IE asks for permission to run the plugin addon and when you allow it it just shows nothing.

Any idea's how we can get this to work? We so want to abandon Adobe Reader and it's problems and use PDF-XChange product.

I also tried viewing site with PDF-XChange Editor installed and it will display the editor in the area but the pdf is not shown.

The site works fine in Firefox/Chrome using the viewer.

Paul
Attachments
PDFXCviewer.zip
(49.35 KiB) Downloaded 104 times
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: No PDF shown

Post by Corwin - Tracker Sup »

Hi Paul,

Can you reproduce this problem on latest version of IE?
PKramer
User
Posts: 4
Joined: Tue Dec 17, 2013 4:43 pm

Re: No PDF shown

Post by PKramer »

Have not tried as we can not run latest IE due to certain 3rd party software and sites our of our control that do not work with it, and are mission critical.

For the time being we are stuck on IE8.

I have tried the TreatAs CLSID method I found on here for someone else that had a similar problem, but it acts the exact same way.

Is there anyway to make this work?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: No PDF shown

Post by Corwin - Tracker Sup »

Well, there is an old known bug (which may cause your problem) with older IE installations lower then IE version 9:
http://support.microsoft.com/kb/906379/en-us
Due to this bug in MSIE Urlmon.dll, the Editor/Viewer cannot download pdf file.
Post Reply