ABCPdf - Unable to render HTML. Unable to load page

Ev. picture Ev. · Mar 2, 2011 · Viewed 17.5k times · Source

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

Answer

Sheetal Mohan Sharma picture Sheetal Mohan Sharma · May 31, 2011

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.