我正在尝试使用nreco库生成pdf,并在生成此异常时获得此异常。
(退出代码:-1073741819)描述:在执行当前web请求期间发生了未处理的异常。请查看堆栈跟踪以获得有关错误的更多信息,以及它起源于代码的位置。异常详细信息: NReco.PdfGenerator.WkHtmlToPdfException:(退出代码:-1073741819)源错误:在执行当前web请求期间生成未处理的异常。有关异常的起源和位置的信息可以使用下面的异常堆栈跟踪来标识。堆栈跟踪:(退出代码:-1073741819) NReco.PdfGenerator.HtmlToPdfConverter.CheckExitCode(Int32 exitCode,String lastErrLine,Boolean ) +134 NReco.PdfGenerator.HtmlToPdfConverter.InvokeWkHtmlToPdf(PdfSettings pdfSettings,String inputContent,Stream outputStream) +644 NReco.PdfGenerator.HtmlToPdfConverter.GeneratePdfInternal(WkHtmlInput[] htmlFiles,String inputContent,String coverHtml,String outputPdfFilePath,Stream outputStream) +1282
需要帮助。
发布于 2018-02-08 16:04:41
此错误(如“退出代码:-1073741819")意味着wkhtmltopdf进程被压碎。可能的原因:
https://stackoverflow.com/questions/48678977
复制相似问题