206
Views
3
Comments
Conver HTML to Word getting "Access to path ... is denied" error
Question

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.


2019-09-24 18-41-25
Jorge Martins
 
MVP

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?

2018-06-27 00-09-40
Edwin Siruma

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:

2018-06-27 00-09-40
Edwin Siruma

I forgot to add the args for HtmltoPDFConverter:


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.