Conver HTML to Word getting "Access to path ... is denied" error

Conver HTML to Word getting "Access to path ... is denied" error

  

We are trying to convert an html page to Word Doc or Docx, I tried the Convert HTML to Doc but I am receiving "Access to path.... is denied." error, if I declare the path or filename as "filename.doc" only.

When I change the path or filename to "c:\folder\filename.doc" it is giving a different error 

"Could not find part of path..."

Convert HTML to PDF is working just fine with the same html source.


Any work around on this?

Thank you.


Hi Edwin,

Can you please explain what you're doing? What are you using to convert from HTML to a Word document? (and also, out of curiosity, what are you using to convert from HTML to PDF?

Hi Jorge,

I am trying to convert an html page to HTML to Word Document using these solutions:

https://www.outsystems.com/forge/component/2366/createdocxfromhtml/ 

https://www.outsystems.com/forge/component/2540/htmltodocx/

While we are using this to convert to PDF:

I forgot to add the args for HtmltoPDFConverter: