Home
Analytics
Issue - PDF of report not displaying in Internet Explorer
cdin
Hi all,
We've recently included some reports in our application and have run across an issue with the pdf generation/display. Our configuration uses weblogic 10.0, BIRT 2.3.1, and Java 1.5.06, Adobe Acrobat Reader 8.1.2.
In my development environment, when the default browser is set to Firefox 3.0.10, the report displays correctly. When the default browser is set to IE 7.0.5730, the report loads a blank page. Refreshing the link in the address bar however, does load the report.
In our test environment deployment, the reports do not display at all within Internet Explorer 6.0. Instead, a "File Download" dialog box pops up asking if we'd like to save the file (name, filetype, and size details of the pdf appear correct). IE has determined that it's a pdf file, but won't open it automatically. If you save the pdf as prompted, you can then open it in Reader and in IE as expected. Has anyone else dealt with an issue like this?
I've searched the forums and the bug tracker, but haven't seen anyone else have issues related to my problem. I would appreciate any help you can give me.
Chris
Find more posts tagged with
Comments
mwilliams
Hi Chris,
I have not heard of this issue before. Does this happen for all reports of PDF output? Even if you made the report from the sample database?
cdin
We use Stylereport from Inetsoft for some reports which generates pdf's, but does not have this issue.
I tried running the sample report and it does exhibit the same issues as mentioned in my first post.
Here's an example of the url we use. localhost:7001/birt/preview?__report=checklistException.rptdesign&projectnumber=CD1000&userlevel=A&__format=pdf&__title=BirtReport
Do you have any suggestions for things we should try?
mwilliams
Chris,
Have you tried using run or frameset rather than preview in your URL? Can you attach a sample database report design that is having the issue so that I can see if it does it for me.
MSharma
Hello Michael,<br />
<br />
I work on the same team as Chris, and would like to respond to your question.<br />
<br />
We get the "Save" dialog box when the version of IE is 6.0.3790.1830. With IE version 7.0.5730 we get the Blank Page/Navigation Cancelled error.<br />
<br />
I have tried several scenarios.<br />
<br />
1> frameset with &format=PDF = Blank Page/Navigation Cancelled<br />
2> frameset w/o &format=PDF = Report displayed in HTML format.<br />
<br />
<br />
3> preview with &format=PDF = Blank Page/Navigation Cancelled<br />
4> preview w/o &format=PDF = Report displayed in HTML format.<br />
<br />
3> run with &format=PDF = Blank Page/Navigation Cancelled<br />
4> run w/o &format=PDF = Report displayed in HTML format.<br />
<br />
<br />
I also tried to run the "test" report to display in PDF, but got the same error<br />
<br />
<a class='bbc_url' href='
http://localhost:7001/birt/preview?__report=test.rptdesign&sample=my+parameter&__format=pdf'>http://localhost:7001/birt/preview?__report=test.rptdesign&sample=my+parameter&__format=pdf</a><br
/>
<br />
<br />
In general we have seen this behavior only when we want to format our report to display in PDF.<br />
<br />
Versions that we have used are<br />
Birt - 2.3.2<br />
IE - 7.0.5730 & 8.1.2<br />
Weblogic - 10<br />
JAVA - 1.5.06<br />
<br />
Our reports are deployed as birt.war in the ../autodeply directory. I think that it could possibly be a bug.<br />
<br />
Thanks in advance.<br />
<br />
~monica
MSharma
Hello Michael,
In my previous post I forgot to mention that after the Blank Page/Navigation Cancelled error , if we hit "Refresh" then the report displays in the PDF format. This only happens the first time we open the browser to display the report. Every other report after the first one displays promptly in the next tab of the browser, provided we don't close the browser.
Any help is appreciated.
thanks
~monica
sgeovar
Hi
I'm also facing the same issue. ( Dialog box appears at first time only ).
Any solution for it ??
Thanks