Hi,
I am facing an issue with my WebApp hosted in Azure. This application is hosted in PaaS Azure mode in a WebApplication.
I am using SyncFusion 13.2.0.39 to Merge a Word document and then convert this document into a PDF file.
Here is the error : System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
Here is the Stack trace :
System.AggregateException: One or more errors occurred. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Imaging.Metafile..ctor(Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, String description)
at System.Drawing.Imaging.Metafile..ctor(Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
at Syncfusion.DocIO.DLS.Rendering.DocumentLayouter.CreateImage(WPageSetup pageSetup, ImageType imageType, MemoryStream stream, Int32 resolution)
at Syncfusion.DocIO.DLS.Rendering.DocumentLayouter.LayoutPages()
at Syncfusion.DocIO.DLS.Rendering.DocumentLayouter.Layout(IWordDocument doc)
at Syncfusion.DocToPDFConverter.DocToPDFConverter.ConvertToPDF(WordDocument wordDocument)
In my Solution I have the following dll files :
Syncfusion.Compression.Base
Syncfusion.Core
Syncfusion.DocIO.Base
Syncfusion.DocToPdfConverter.Base
Syncfusion.Pdf.Base
Do you have any idea where this problem is coming from ?