Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ExpertPdf - Could not get conversion result header. Data receive error. Could not receive data. Error code: 109

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);
like image 695
Mark Avatar asked Dec 23 '13 07:12

Mark


1 Answers

If you change application pool identity to user which has admin rights, it solves the problem.

like image 82
hkutluay Avatar answered Oct 05 '22 18:10

hkutluay