【问题标题】:AspNetCore.Reporting not working on linux machine?AspNetCore.Reporting 在 linux 机器上不起作用?
【发布时间】:2021-06-10 09:34:46
【问题描述】:

我正在使用 AspNetCore.Reporting 在 ASP.Net Core 中处理报告以创建报告。当我在 Windows 机器上执行报告时,它工作正常。但是,如果我在 linux 机器上执行,则会出现此错误。

An error occurred during local report processing.;The definition of the report '/var/task/Reports/Report.rdlc' is invalid. An unexpected error occurred in Report Processing. Unable to load shared library 'kernel32.dll' or one of its dependencies.

注意:我在 AWS 中使用无服务器部署应用程序,并使用 aspnetcore 作为运行时。

谁能帮忙解决我的问题?

【问题讨论】:

    标签: asp.net-core reporting-services aws-lambda rdlc aws-serverless


    【解决方案1】:

    它不适用于 linux,并且该软件包自 2018 年以来未收到更新。

    还有其他替代方案,例如 syncfusion pdf(付费)或从 MVC 视图创建 pdf 文件的 Rotativa,Rotativa 使用 wkhtmltopdf(开源和跨平台)。

    【讨论】:

      【解决方案2】:

      最后,我使用 Itext/Itextsharp 作为创建 PDF 的替代方法。创建PDF的功能是开源的

      【讨论】:

        猜你喜欢
        • 2012-01-01
        • 2020-03-26
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-10-04
        • 2013-09-22
        • 2021-12-23
        • 1970-01-01
        相关资源
        最近更新 更多