Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Exporting PDF report to file, file is invalid.
posted

I'm attempting to generate a report in a .NET console application using the following code:

 

This executes without error, however the output file testReport.pdf is just an empty file (0 bytes) and Adobe Reader displays an error when I try to open it. The TestReport.igr is just a report with an "I AM A REPORT" text block in it. There are no databindings or parameters in it yet.

 

Am I missing something? This will be an application that runs nightly with no user interaction. I need to be able to generate reports and save them to file. Is there a better way of going about this?

Parents Reply Children
No Data