发布带有自定义程序集的 Power BI 分页报表以生成 QR 码时出现问题

Issue Publishing Power BI Paginated Report with Custom Assembly for QR Code Generation

提问人:Wimpie 提问时间:8/29/2023 更新时间:8/29/2023 访问量:76

问:

我目前在尝试将 Power BI 分页报表发布到 Power BI 服务时遇到问题。该报告包括一个自定义程序集,我使用它根据数据库中的项目编号生成 QR 码。以下是有关如何在 SSRS 中使用 QRCoder 库的教程的链接。

为了使报表在我的本地计算机上工作,我必须将程序集安装到全局程序集缓存 (GAC) 中,并在报表中嵌入一些代码。

当我尝试发布报告时,出现以下错误:

PaginatedReportAuthoringError: Report is invalid. ErrorCode: rsErrorLoadingCodeModule, Details: Error while loading code module: "QRCoderImageToByteArray, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3016ec4525f0585e". Details: Could not load file or assembly "QRCoderImageToByteArray, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3016ec4525f0585e" or one of its dependencies. The system cannot find the file specified.

是否可以让此解决方案在 Power BI 服务上运行?

Reporting-Services PowerBI SSRS-2012 程序集

评论

0赞 Jon 8/29/2023
Power BI 上的分页报表不支持自定义程序集。
0赞 Wimpie 8/29/2023
谢谢,我将其添加为 Microsoft Fabric 上的功能请求

答: 暂无答案