Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ABCPdf - Unable to render HTML. Unable to load page

Tags:

abcpdf

I'm using ABCPdf to convert HTML to a PDF. I'm using the method:

AddImageUrl()

This works fine in Dev and UAT, but on Production I continuously get the message:

Unable to render HTML. Unable to load page

Anyone see this before? Need more info?

-Ev

like image 509
Ev. Avatar asked Mar 02 '11 06:03

Ev.


2 Answers

I guess you are tying to do URL->pdf generation. It is difficult to directly to do URL->pdf conversion. We ended up URL-Save HTML in local folder ->read HTML and convert to PDF-> delete HTML file from folder - tricky approach but it works. The only flaw is that you need to give read/write permission on a folder on server. Its still better than decreasing security settings.

like image 140
Sheetal Mohan Sharma Avatar answered Sep 20 '22 10:09

Sheetal Mohan Sharma


have you take a look at this http://www.itjungles.com/dotnet/abc2pdf-unable-to-render-html

like image 28
user358975 Avatar answered Sep 18 '22 10:09

user358975