barcode Qr Problem

I have a program in C#, it is an API that on my local computer everything works fine, but when I implement it on a server the report comes out all right except the QR, which does not appear.

I already checked the dlls and they are all on the server, any idea what needs to be done?

Comments

  • Hello!

    In FastReport.Core 2026.2.8, FastReport.Core.Skia 2026.2.8 and FastReport.OpenSource 2027.1.0, QR codes are rendered and exported to PDF by default; therefore, the disappearance of a QR code specifically on the server is almost always related to the deployment environment or the data:

    Linux/Docker + FastReport.Core / FastReport.OpenSource (System.Drawing): GDI+-based packages require the native libgdiplus library and fonts within the container. For Linux/Docker/server environments, use the cross-platform FastReport.Core.Skia stack.

    If the QR code contains a string with expressions (e.g., [Inv.Seller];[Inv.Total]), be sure to set `barcode.AllowExpressions = true;`

    Also, check that the server-side value of the field is not empty or null and does not exceed the limit for the selected QR version; when rendering in the HTML preview, ensure that resource paths such as /_fr/... are not blocked.

This discussion has been closed.