Posted 9 October 2017, 1:51 am EST
There are few chart reports, which are working in local but failing when ran from Azure web sites, with following error:
message=“A generic error occurred in GDI+.”
source=“System.Drawing”
detail="System.Exception: DisplayReport - GetReport - Failed unexpectedly —> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Imaging.Metafile…ctor(IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, String description)
at System.Drawing.Imaging.Metafile…ctor(IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
at #mb.#uXm.#d4m(Graphics refGfx, RectangleF outputRect)
at GrapeCity.ActiveReports.SectionReportModel.ChartControl.#LYA(GraphicsCache cache, Page page, PointF pageOffset, Single startPos, Single endPos)
at GrapeCity.ActiveReports.SectionReportModel.ARControl.Render(GraphicsCache gRef, Page page, PointF pageOffset, Single startPos, Single endPos)
at GrapeCity.ActiveReports.SectionReportModel.Section.Render(GraphicsCache cache, Page page, #Ppb drawingLog, PointF pageOffset, Single pageWidth, Single drawStartPos, Single drawEndPos)
at #sxA.#mqb.#vDb()
at #sxA.#vqb.#rEb()
at #sxA.#vqb.#bZA(Page newPage, Single left, Single top, Single right, Single bottom, UInt32 flags, UInt32& status)
at GrapeCity.ActiveReports.SectionReport.#4yb()
at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)
at GrapeCity.ActiveReports.SectionReport.Run()
at SmartCookies.Reports.DisplayReport.GetReport(NameValueCollection form)