I am using ExpertPdf *HtmlToPdf* library. When I try to AddElement to PdfPage I get an exception: "Could not get conversion result header. Data receive error. Could not receive data. Error code: 109". I have no idea why is that.
Code below:
PdfPage page = doc.Pages.AddNewPage();
HtmlToPdfElement htmlToPdfElement = new HtmlToPdfElement(0,0,0-1,"cos",null);
AddElementResult result = page.AddElement(htmlToPdfElement);
If you change application pool identity to user which has admin rights, it solves the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With