Jump to content

Able to Save the Generated PDF but Not Open PDF


t357

Recommended Posts

Hi all,

I have an issue from a client complaining that after she clicks Generate PDF File button, there is no exception and no error in the log file. A dialog box pops up with the Save, Open, and Cancell. If she clicks Save, she is able to save the pdf to her machine and able to open it by clicking on the just saved file. But if she clicks Open, then she is not able to open the PDF and her Internet Explore goes off with internal error message, something like when the internet is off . Her friends with the same user roles don't have this problem. They are able to click on Open and the report opens successfully.  We don't have any problem in our local machine.

Note: For some kind of report, she doesn't have a problem. For example, for report A,B,C,D, she has the same issue as decribed. For report E, she doesn't have a problem.  I use the same jasper API classes for each report to load, fill and  export to pdf file as:

JasperReport jasperReport = getJasperReport(jasperReportName);

JasperPrint jasperPrint = JasperFillManager.fillReport

JasperExportManager.exportReportToPdf(jasperPrint);

The only difference was I might  use the older version of IReport when first creating the jrxml for report E, but later on I used new version of IReport to open the template file. I couldn't tell the difference when viewing as xml.

The other mistery is why her friends don't have any problem and she get this Opening problem.

Any help and suggestion would be highly appreciated.

 

Sincerely,

T357

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...