Exported Pdf file doesnt show with Adobe Reader

Stimulsoft Reports.WEB discussion
Post Reply
iman_22a
Posts: 10
Joined: Thu Jan 08, 2009 1:52 pm
Location: usa

Exported Pdf file doesnt show with Adobe Reader

Post by iman_22a »

Hello.
I use 2009.3 release of Stimulsoft Web Report. I can not open Exported pdf files with adobe Acrobat reader.this program throw an error.

i also try following way that work fine for me

Code: Select all

Report.Render(False)
Dim MySettings As New Stimulsoft.Report.Export.StiPdfExportSettings()
Report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, Server.MapPath("temp\d.pdf"), MySettings)
but still have problem in direct export without create temp file in server

thanks.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Exported Pdf file doesnt show with Adobe Reader

Post by Jan »

Hello,
I use 2009.3 release of Stimulsoft Web Report. I can not open Exported pdf files with adobe Acrobat reader.this program throw an error.
Please send to us mdc file for this report. Also we need pdf file which is not work.
i also try following way that work fine for me

Code: Select all

Report.Render(False)
Dim MySettings As New Stimulsoft.Report.Export.StiPdfExportSettings()
Report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, Server.MapPath("temp\d.pdf"), MySettings)
but still have problem in direct export without create temp file in server
You can use following code;

Code: Select all

Report.Render(False)
Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(Page, Report)
Thank you.
iman_22a
Posts: 10
Joined: Thu Jan 08, 2009 1:52 pm
Location: usa

Exported Pdf file doesnt show with Adobe Reader

Post by iman_22a »

Hi Jan

I sent files for you to Support@stimulsoft.com

I am waiting for your reply.
Attachments
292.myreport.mdc
(517.91 KiB) Downloaded 237 times
291.myReport.pdf
(116.9 KiB) Downloaded 298 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Exported Pdf file doesnt show with Adobe Reader

Post by Edward »

Hi

Please send us your files again along with a test project. Some of your files were corrupt, please check it.

Maybe there were any problems with encoding?

Thank you.
iman_22a
Posts: 10
Joined: Thu Jan 08, 2009 1:52 pm
Location: usa

Exported Pdf file doesnt show with Adobe Reader

Post by iman_22a »

Edward wrote:Hi

Please send us your files again along with a test project. Some of your files were corrupt, please check it.

Maybe there were any problems with encoding?

Thank you.
ohhh,Encoding.my be, because my information is in UTF8 (Persian Language) . but No,Because by second way all things works completely and PDf file is correct.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Exported Pdf file doesnt show with Adobe Reader

Post by Jan »

Hello,

Sorry i can't open this pdf file and this pdf file is not created by Reports.Web. For example first 5 chars from this file absolutelly is not correct for pdf file.

Thank you.
iman_22a
Posts: 10
Joined: Thu Jan 08, 2009 1:52 pm
Location: usa

Exported Pdf file doesnt show with Adobe Reader

Post by iman_22a »

Jan wrote:Hello,

Sorry i can't open this pdf file and this pdf file is not created by Reports.Web. For example first 5 chars from this file absolutelly is not correct for pdf file.

Thank you.
Hello,
Files created with Reports.web , the correct file that created with second way has same size with this one(but not same Exactly )
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Exported Pdf file doesnt show with Adobe Reader

Post by Andrew »

Hello,

Is it possible for you create a sample which reproduce the error.

Thank you.
Post Reply