Page 1 of 1

Export PDF in Azure Website

Posted: Fri May 15, 2015 12:50 pm
by a.serra
Good morning,

We use your product "Stimulsoft Reports.Web" to create and export in .pdf reports in our sites.

When we use the function ExportDocument into a site in custom virtual machine or we use this function in a Console application it works.

We want to move the application in Microsoft Azure, but the "Export" function throws this exception when it is hosted in an Azure Website.

The error is:
System.IndexOutOfRangeException was caught
HResult=-2146233080
Message=Index was outside the bounds of the array.
Source=Stimulsoft.Report
StackTrace:
at Stimulsoft.Report.Export.PdfFonts.MakeGlyphBackMap(Font font)
at Stimulsoft.Report.Export.PdfFonts.InitFontsData()
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf1(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
at SF.Scorm.Management.Scorm.CertificateFunctions.GeneraCertificato(FAD_Registrations prenotazione, FAD_GradedResult result, String nomeCertificato, StringBuilder emailText, StringBuilder emailTextToUser) in f:\SRRNMR\Progetti\2013\SF.DirectioScorm.FAD\SF.DirectioScorm\branches\upgrade\SF.DirectioScorm.FAD\SF.Scorm.Management\Scorm\CertificateFunctions.cs:line 662
InnerException:

How can I resolve this problem?

Thank you.

Best regards,
Anna Maria Serra

Re: Export PDF in Azure Website

Posted: Mon May 18, 2015 8:57 am
by HighAley
Hello, Anna Maria.

This is very strange error. We did not meet it before.
Could you send us more information about the issue following the Preparing questions to Support service article.
Do you get the error with all reports or just in some of them.

Thank you.