Hi,
I am evaluating your Rasterizer product to convert PDF files to images but I stumbled upon an issue upon testing one PDF.
See below stack trace.
Application: LSEOffer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at <Module>.a(Void*, Void*, Int32, Int32, Int32, Int32, Int32, Int32)
at ceTe.DynamicPDF.Rasterizer.PdfRasterizerPage.a(System.Drawing.Imaging.PixelFormat, Int32, ceTe.DynamicPDF.Rasterizer.ImageSize, Boolean)
at ceTe.DynamicPDF.Rasterizer.PdfRasterizerPage.Draw(System.String, ceTe.DynamicPDF.Rasterizer.ImageFormat, ceTe.DynamicPDF.Rasterizer.ImageSize)
at LSEOffer.PDFExtractOperations.ConvertPDFToImageDynamicPDF(System.String, System.String, System.String, LSEOffer.RestServiceOperations, Int32)
at LSEOffer.PDFExtractOperations.ProcessPDFs()
at LSEOffer.MainForm.bgProcessPdf_DoWork(System.Object, System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
I am not encountering above error when debugging in local PC, only when the application is deployed.
Please advise how to resolve above issue.
Thanks.
Gen