I need to convert a HTML file to PDF in my web service, but I cannot get it to work.
I tried the method provided at /Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Convert-HTML-to-PDF-Customize-HTML-to-PDF-Conversion-by-Yourself.html, and it works great on local machine. When run on a server it throws this exception: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
I also tried the method provided at /Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Convert-HTML-to-PDF-with-New-Plugin.html. but I cannot get it to work even on the local machine. I get an exception asking me to make sure the plugins-folder is in the same place as the Spire.PDF.dll - and it is.
Any help? I'm running Spire.Office 4.8.3 (hotfix)