We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exceptions when multiple users trying to create ASPOSE PDF


I am issues while mutiple users are using the aspose pdf dll simultaneously. I have logged all the exceptions that we encounter, below are the exceptions which we are seeing more frequently in the logs.

Execption 1:

at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at Aspose.Pdf.ImageStamp..ctor(String fileName)

Exception 2:
at System.Collections.Generic.List`1.Add(T item)
at .()
at .(Stream )
at .(String , Assembly )
at Aspose.Pdf.License.SetLicense(String licenseName)

Exception 3:

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Aspose.HTML.Rendering.fonts.CodePointMapping.getMapping(String encoding)
at Aspose.HTML.Rendering.fonts.base14.HelveticaOblique..ctor(Boolean enableKerning)
at Aspose.HTML.Rendering.fonts.base14.Base14FontCollection.setup(Int32 start, FontInfo fontInfo)
at Aspose.HTML.Rendering.fonts.FontManager.setup(FontInfo fontInfo, IFontCollection[] fontCollections)
at Aspose.HTML.Rendering.area.RenderPagesModel..ctor(FOUserAgent userAgent, String outputFormat, FontInfo fontInfo, Stream stream)
at Aspose.HTML.Rendering.area.AreaTreeHandler..ctor(FOUserAgent userAgent, String outputFormat, Stream stream)
at Aspose.HTML.Rendering.render.RendererFactory.createFOEventHandler(FOUserAgent userAgent, String outputFormat, Stream out)
at Aspose.HTML.Rendering.fo.FOTreeBuilder..ctor(String outputFormat, FOUserAgent foUserAgent, Stream stream)
at Aspose.HTML.Rendering.apps.Fop.createDefaultHandler()
at Aspose.HTML.Rendering.apps.FopFactory.newFop(String outputFormat, FOUserAgent userAgent, Stream stream)
at Aspose.HTML.Rendering.fo.dom.impl.FODocument..ctor(FOUserAgent agent)
at Aspose.HTML.Rendering.apps.FOUserAgent.Aspose.HTML.Rendering.IFOUserAgent.CreateDocument()
at Aspose.HTML.Rendering.Aps.ApsConverter.Convert(Document document, ConverterOptions options)
at Aspose.HTML.Rendering.Aps.ApsConverter.Convert(Stream stream, ConverterOptions options)
at Aspose.Pdf.HtmlFragment.(Double , Double , Double )
at Aspose.Pdf.HtmlFragment.(Double& , Double& , Boolean , Double , Double , List`1 , Page , MarginInfo , Table )
at .()
at Aspose.Pdf.Page.(Page )
at Aspose.Pdf.Document.ProcessParagraphs()

We need to address these issues urgently as many of our customers are raising complaints about the pdf generation failure.

Note: Request to consider this on priority and address the issues at the earliest.


Hi Rajasekhar,

Thank you for contacting support. Kindly track the complete details of these use cases, including the source documents and code. Please cut off the additional information and share details of each use case with minimum code and source files, so that we could replicate these errors in our environment. In that way, we would be able to investigate and share our findings with you. Your response is awaited.