amh1979 / AspNetCore.Reporting

Reporting For .Net Core
26 stars 30 forks source link

TotalPages = 0 when rendering PDF #19

Open renatotozzi opened 3 years ago

renatotozzi commented 3 years ago

Hi all

I'm trying to use this library to render rdlc as PDF, but it always returns zero pages. If I change RenderType to HTML it works perfectly as you can see the images below:

rdlc_to_pdf rdlc_to_html

I think that for this reason when I try to render PDF I get the error message in browser: "Failed to load PDF document."

Can someone help me with this issue?

Best regards!