tuespetre / TuesPechkin

A .NET wrapper for the wkhtmltopdf library with an object-oriented API.
326 stars 116 forks source link

byte array keeps coming back empty on azure VM on converter.Convert(document) #168

Closed MacMcDell closed 6 years ago

MacMcDell commented 6 years ago

Using the same branch on my local and on my on premise VM I can generate pdf files. I installed the 2013C++ redist x86 and made sure my app Pool is allowing for 32 bit apps. Unfortunately it seems I keep getting returned a zero byte array using the boilerplate: byte[] result = converter.Convert(document);

I just pulled the branch down to my own local and it works 100%. this same code is running on my on premise VM. I do note that you said it won't work on azure websites. Are you including azure VM as well? Any possible ideas on what might be the problem?

MacMcDell commented 6 years ago

It was a problem with urlRewriter.. nothing to do with library.