The EvoPDF library for converting HTML to PDF (http://www.evopdf.com/) claims to support the Windows Azure Cloud platform, however I cannot get it to work. I get an exception:
[Exception: Could not get conversion result header. Data receive error. Could not receive data. Error code: 109]
EvoPdf.HtmlToPdf.ImgConverter.GetLayoutFromUrl(String url, ps& htmlParseInfo) +622
EvoPdf.HtmlToPdf.PdfConverter.ConvertAndGetPdfDocument(String url, String htmlString, String baseUrl, String internalLinksDocUrl, Boolean fromUrl) +9748
EvoPdf.HtmlToPdf.PdfConverter.ConvertAndSaveToStream(Stream outStream, String url, String htmlString, String baseUrl, String internalLinksDocUrl, Boolean fromUrl) +61
EvoPdf.HtmlToPdf.PdfConverter.SavePdfFromUrlToStream(String url, Stream outPdfStream) +20
It looks like a failure at the point where the library fetches the HTML content through a web request. Is there anything in Azure that prevents outgoing web requests?
The library is deployed as two DLLs, a native DLL and a managed assembly. Is there any special Azure configuration needed to load my own DLLs? (The library supports xcopy deployment, it works for me in other hosting environments).
source
share