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

153 Views Asked by At

I am currently facing an issue while attempting to publish a Power BI paginated report to the Power BI Service. The report includes a custom assembly that I'm using to generate QR codes based on item numbers from a database. Here is a link to the tutorial on how to use the QRCoder library in SSRS.

For the report to work on my local machine I had to install the assemblies to the global assembly cache (GAC) and embed some code in the report.

When I try to publish the report I get the following error:

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.

Is it possible to get this solution to work on the Power BI Service?

0

There are 0 best solutions below