StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Stimulsoft Reports.Silverlight discussion
hnilickam
Posts: 14
Joined: Tue Mar 15, 2011 6:56 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by hnilickam »

Hello,
when exporting my report, second page of resulting PPT is corrupted.
Most other formats (PDF, Excel, ...) works well.
Exporting to HTML fails completely - it throws ExgumentException
("The path is not of a legal form.") when calling StiReport.ExportDocument.

Please check zipped files (MRT, PPT, ...).
Thank you.
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by Anton Lozovskiy »

Hello,

The problem is fixed. The patch is available in prerelease build of on 16.03.2011.

Thank you.
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by Anton Lozovskiy »

Hello,

The problem is fixed. The patch is available in prerelease build of on 23.03.2011.

Thank you.
hnilickam
Posts: 14
Joined: Tue Mar 15, 2011 6:56 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by hnilickam »

Hello,
I can confirm exported PPT is fine now. :biggrin:

However exporting to HTML still fails when calling StiReport.ExportDocument on the server side.
"The path is not of a legal form." exception is thrown.

Inner exception:
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
at System.IO.Path.GetDirectoryName(String path)
at Stimulsoft.Report.Export.StiHtmlImageHost.GetImageString(Bitmap bmp)
at Stimulsoft.Report.Export.StiHtmlTableRender.RenderTable(Boolean renderStyles, String backGroundImageString, Boolean useBookmarks, Boolean exportBookmarksOnly, Hashtable cssStyles)
at Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, StiHtmlTextWriter writer, StiHtmlExportSettings settings, StiPagesCollection pages)
at Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, Stream stream, StiHtmlExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream)
at WEKJ.Web.Reports.StimulReports.Export(String fo_ReportGuid, String fc_ReportFormatOrExportSettingsXml, String& fc_ExportedFileName) in C:\Temp\Silverlight\WEKJ\SRC\WEKJ.Web\Lib\StimulReports.vb:line 425
at WEKJ.Web.FleetWebWS.ExportStimulReport(String fc_ReportGuid, String fc_ExportFormatOrSettingsXml, String& fc_ExportedFileName) in C:\Temp\Silverlight\WEKJ\SRC\WEKJ.Web\FleetWebWS.svc.vb:line 209
My report contains logo image but removing it did not help.
Please check zipped MRT and XSD.
I am using latest available build 2011.1.1000.0.

Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by Andrew »

Hello,

Which export do you use, be means of Silverlight or Client/Server?

Thank you.
hnilickam
Posts: 14
Joined: Tue Mar 15, 2011 6:56 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by hnilickam »

Hello,
it is Client/Server.
When calling StiReport.ExportDocument(StiExportFormat.Html, MyMemoryStream) on the server, it fails.
It has already nothing to do with StiSLViewerControl, purely server side problem (Stimulsoft.Report.dll from Silverlight 2011.1).
See the stack trace in my previous post. Maybe something is wrong with my MRT but all other formats are OK...

Thank you for invertigating it.

Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by Anton Lozovskiy »

Hello,

Please send us a report template and data for it. We need it for reproducing of the problem.

Thank you.
hnilickam
Posts: 14
Joined: Tue Mar 15, 2011 6:56 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by hnilickam »

Hello,
you can download it from
http://www.autoplan.cz/download/fleetware/SS/ss3.zip.
Thank you for your time.
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by Anton Lozovskiy »

Hello,

The problem is fixed. The patch is available in prerelease build of on 19.04.2011.

Thank you.
tr_ansis
Posts: 11
Joined: Mon Jun 27, 2011 7:08 am

StiSLViewerControl - corrupted PowerPoint 2007 and HTML export

Post by tr_ansis »

I had a similar problem with the trial version which I am exploring to see if it fits our needs. Has this problem been fixed in the trial version? If not,I won't have to continue trying to solve the problem. (I assume it doesn't occur in the 'real' version anymore).
Locked