QuestPDF / QuestPDF

QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
https://www.questpdf.com
Other
11.59k stars 599 forks source link

Error on windows server 2019 #593

Open MicheleRoma opened 1 year ago

MicheleRoma commented 1 year ago

Hi All,

thats what I'm facing with a web api deployed on windows server 2019:

Immagine1

that's my code:

Immagine2

same code runned in localhost works fine.

please, someone has any idea?

Many thanks Mic

nelutzu91 commented 1 year ago

@MicheleRoma , I am not sure about why it worked locally, but did you try sending a file name for the GeneratePdf on line 127? According to stack trace it is missing that one. Also, maybe locally you have another version of SkiaSharp than the one on the server.