Rank: Newbie Groups: Member
Joined: 3/13/2024 Posts: 3
|
Hi,
We are using EO.pdf for .net in our application to generate Pdf files, and we started getting some errors, our application is running on client server, currently it causing issue for 2 clients, for one of them our application always fail to generate Pdf now.
Client 1- EO.Pdf stopped working for them, every time application try to generate pdf it fails, and get following errors ---------------------------Error 1------------------------------------ nvoice Import Finished with error System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at EO.Internal.wgxm.rbif[a](mlmn`1 bti) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at TimberScan.Integration.Sage300.HtmlToPdfConvertService.CreateProcoreInvoice(String filePath, String tempDirectory, String html, String language) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\HtmlToPdfConvertService.cs:line 47 at TimberScan.Integration.Sage300.ProCore.TimberScanProCoreInvoiceImporter.Import(ProCoreInvoiceDto invoiceDto, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\ProCore\TimberScanProCoreInvoiceImporter.cs:line 424 at TimberScan.ProCore.HangFireTasks.InvoiceImportTask.Execute(Int64 resourceId, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.ProCore\HangFireTasks\InvoiceImportTask.cs:line 160
----------------------------------------------Error 2-------------------------------------------------------------------- Invoice Import Finished with error Child process exited unexpectedly. at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at EO.Internal.mlrg.xtse..ctor(xtsd nnt, String nnu) at EO.Internal.mlrg.egsk(mlnf nne) at EO.Internal.mlrg.egry(Boolean& nmc, Type[] nmd, String nme, String nmf) at EO.Internal.mlrg.cfip(Type[] nlz, String nma, String nmb) at EO.Internal.mlrh.cfip(String nrs, String nrt) at EO.Internal.yhlg.svrl() at EO.Internal.yhlg.etao.ptcu() at EO.Internal.mlmv.wdvl(Action luk) at EO.Internal.yhlg.tvaj(WindowsIdentity ha) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.WebEngine.Engine.Start() at EO.Internal.wgxk.jjll() at EO.Internal.wgxl.jjll(wgxk& bta) at EO.Internal.wgxm.jjll(yhlb bte, wgxk& btf) at EO.Internal.wgxp.acpl() at EO.Internal.wgxp..ctor(yhlb btj, HtmlToPdfOptions btk) at EO.Pdf.HtmlToPdfSession.nqqr(HtmlToPdfOptions aau) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions aar, HtmlToPdfSession aas, ResourceHandler aat) at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler) at EO.Pdf.HtmlToPdf.kmft.qmtt() at EO.Internal.wgxm.rbif[a](mlmn`1 bti) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at TimberScan.Integration.Sage300.HtmlToPdfConvertService.CreateProcoreInvoice(String filePath, String tempDirectory, String html, String language) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\HtmlToPdfConvertService.cs:line 48 at TimberScan.Integration.Sage300.ProCore.TimberScanProCoreInvoiceImporter.Import(ProCoreInvoiceDto invoiceDto, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\ProCore\TimberScanProCoreInvoiceImporter.cs:line 429 at TimberScan.ProCore.HangFireTasks.InvoiceImportTask.Execute(Int64 resourceId, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.ProCore\HangFireTasks\InvoiceImportTask.cs:line 161 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Hangfire.Server.CoreBackgroundJobPerformer.InvokeSynchronously(Object state) at Hangfire.Server.CoreBackgroundJobPerformer.InvokeMethod(PerformContext context, Object instance, Object[] arguments) at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0() at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2() at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2() at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContext context, IEnumerable`1 filters) at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId) at Hangfire.Server.Worker.Execute(BackgroundProcessContext context) at Hangfire.Server.BackgroundProcessDispatcherBuilder.ExecuteProcess(Guid executionId, Object state) at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state) at Hangfire.Processing.BackgroundDispatcher.DispatchLoop() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
----------------------------------Error 3------------------------------- System.Exception: MapViewOfFile failed, Win32 Error: 8 at EO.Internal.mlri.htdm(String& nrv, Int32& nrw) at EO.Internal.mlrg.xtsk.kjjz(yxfg nre, mlri nrf) at EO.Internal.mlrg.xtsk.kjjo(Type[] nqt, mlri[]& nqu) at EO.Internal.mlrg.egry(Boolean& nmc, Type[] nmd, String nme, String nmf) at EO.Internal.mlrg.cfip(Type[] nlz, String nma, String nmb) at EO.Internal.mlrh.cfip(String nrs, String nrt) at EO.Internal.yhlg.svrl() at EO.Internal.yhlg.etao.ptcu() at EO.Internal.mlmv.wdvl(Action luk) at EO.Internal.yhlg.tvaj(WindowsIdentity ha) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.WebEngine.Engine.Start() at EO.Internal.wgxk.jjll() at EO.Internal.wgxl.jjll(wgxk& bta) at EO.Internal.wgxm.jjll(yhlb bte, wgxk& btf) at EO.Internal.wgxp.acpl() at EO.Internal.wgxp..ctor(yhlb btj, HtmlToPdfOptions btk) at EO.Pdf.HtmlToPdfSession.nqqr(HtmlToPdfOptions aau) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions aar, HtmlToPdfSession aas, ResourceHandler aat) at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler) at EO.Pdf.HtmlToPdf.kmft.qmtt() at EO.Internal.wgxm.rbif[a](mlmn`1 bti) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at TimberScan.Integration.Sage300.HtmlToPdfConvertService.CreateProcoreInvoice(String filePath, String tempDirectory, String html, String language) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\HtmlToPdfConvertService.cs:line 47 at TimberScan.Integration.Sage300.ProCore.TimberScanProCoreInvoiceImporter.Import(ProCoreInvoiceDto invoiceDto, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\ProCore\TimberScanProCoreInvoiceImporter.cs:line 424 at TimberScan.ProCore.HangFireTasks.InvoiceImportTask.Execute(Int64 resourceId, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.ProCore\HangFireTasks\InvoiceImportTask.cs:line 224
=============================================================================================================
Client2 - He periodically getting these errors -
Invoice Import Finished with error Child process exited unexpectedly. at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at EO.Internal.mlrg.xtse..ctor(xtsd nnt, String nnu) at EO.Internal.mlrg.egsk(mlnf nne) at EO.Internal.mlrg.egry(Boolean& nmc, Type[] nmd, String nme, String nmf) at EO.Internal.mlrg.cfip(Type[] nlz, String nma, String nmb) at EO.Internal.mlrh.cfip(String nrs, String nrt) at EO.Internal.yhlg.svrl() at EO.Internal.yhlg.etao.ptcu() at EO.Internal.mlmv.wdvl(Action luk) at EO.Internal.yhlg.tvaj(WindowsIdentity ha) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.WebEngine.Engine.Start() at EO.Internal.wgxk.jjll() at EO.Internal.wgxl.jjll(wgxk& bta) at EO.Internal.wgxm.jjll(yhlb bte, wgxk& btf) at EO.Internal.wgxp.acpl() at EO.Internal.wgxp..ctor(yhlb btj, HtmlToPdfOptions btk) at EO.Pdf.HtmlToPdfSession.nqqr(HtmlToPdfOptions aau) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions aar, HtmlToPdfSession aas, ResourceHandler aat) at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler) at EO.Pdf.HtmlToPdf.kmft.qmtt() at EO.Internal.wgxm.rbif[a](mlmn`1 bti) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at TimberScan.Integration.Sage300.HtmlToPdfConvertService.CreateProcoreInvoice(String filePath, String tempDirectory, String html, String language) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\HtmlToPdfConvertService.cs:line 48 at TimberScan.Integration.Sage300.ProCore.TimberScanProCoreInvoiceImporter.Import(ProCoreInvoiceDto invoiceDto, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.Integration.Sage300\ProCore\TimberScanProCoreInvoiceImporter.cs:line 429 at TimberScan.ProCore.HangFireTasks.InvoiceImportTask.Execute(Int64 resourceId, Int64 companyId, Int64 projectId) in C:\Teamcity\BuildAgent\work\3bc6416f876df853\TimberScan.Go\TimberScan.ProCore\HangFireTasks\InvoiceImportTask.cs:line 161 at TimberScan.Go.Controllers.Admin.ProCoreManagementController.RetryInvoiceImport(Int64 requisitionId, Int64 companyId, Int64 projectId) at lambda_method(Closure , Object , Object[] ) at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__13.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__23.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__18.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__16.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Mvc.Internal.MvcAttributeRouteHandler.<>c__DisplayClass12_0.<RouteAsync>b__0(HttpContext c) at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.WebSockets.WebSocketMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.<Invoke>d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.<Invoke>d__7.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.<Invoke>d__7.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.<Invoke>d__7.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.<Invoke>d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.<Invoke>d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at lambda_method(Closure , Object , HttpContext , IServiceProvider ) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_1.<UseMiddleware>b__2(HttpContext context) at Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.<Invoke>d__3.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.<Invoke>d__13.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Hosting.Internal.HostingApplication.ProcessRequestAsync(Context context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__188`1.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(Object stateMachine) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() at System.Runtime.CompilerServices.ValueTaskAwaiter.<>c.<.cctor>b__9_0(Object state) at System.IO.Pipelines.ThreadPoolScheduler.<>c.<Schedule>b__0_0(Object s) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Thanks, Harvinder Syan
|