Generated PDF cannot be open.

Stimulsoft Reports.NET discussion
Post Reply
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Generated PDF cannot be open.

Post by fkmfkm »

I am using this line to generate as PDF

Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(Me, report)

It has been fine for the past week or so..

But lately I am getting this error when I am trying to open the generated PDF. Even existing report failed to work.

"There was an error opening this document. This file cannot be found.". This is a message box from within the Acrobat Reader.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Generated PDF cannot be open.

Post by Edward »

Please send to us mdc file of the rendered report. You can save into this format a rendered report from a preview window via third button from the left. Also into this format you can save a rendered report via the following code:

Code: Select all

Report.Render(false);
report.SaveDocument("myreport.mdc");
Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Generated PDF cannot be open.

Post by fkmfkm »

Edward,

I found the problem. My IE cache is full (i hope so...i need to test more)...(i found out when gmail alert me about this when I am trying to send you the file). After i clear the cache now its ok ...will test more and let you know.

Have to always remember this ...in case I or anyone run into this..

Anyway thanks again.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Generated PDF cannot be open.

Post by Vital »

No problem.

Post Reply