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.
Generated PDF cannot be open.
Generated PDF cannot be open.
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:
Thank you.
Code: Select all
Report.Render(false);
report.SaveDocument("myreport.mdc");
Generated PDF cannot be open.
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.
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.
Generated PDF cannot be open.
No problem.