3

我正在使用 SelectPDF 从 cshtml 模板生成 pdf。我的 PDF 在本地生成,但在生产时出现错误。

堆栈跟踪:在 SelectPdf.HtmlToImage.?(String A_0, String A_1, String A_2, ?[]& A_3, ?& A_4)\r\n 在 SelectPdf.HtmlToPdf.?(String A_0, String A_1, String A_2, String A_3,布尔 A_4)\r\n 在 SelectPdf.HtmlToPdf.ConvertHtmlString(String htmlString)\r\n 在 Test.GenerateSelectPDF(ReportObj 报告)\r\n 在 Test.ReportsController.d__6.MoveNext()

我已确保 dll、Select.Pdf.dll 和 Select.Html.dep 与 Select.Pdf.xml 和 Select.Tools.dep 一起位于我的 bin 文件夹中。

由于我可以在本地生成相同的报告,我认为这是一个配置问题。

4

0 回答 0