Convert method from HTML2PDF returns false with error code 0

Product: PDFNetC.dll (Demo license for evaluation)

Product Version:9.3.8.70

Please give a brief summary of your issue:
Convert method from HTML2PDF returns false with error code 0

Please describe your issue and provide steps to reproduce it:
We are creating the windows service to process the files (office documents, plain documents and html documents) into PDF using the package pdftron.

We are seeing the issue when we convert the html files into PDF.

using (var pdfDoc = new PDFDoc())
using (var pdfConverter = new HTML2PDF())
{
pdfConverter.SetMargins(“20”, “20”, “20”, “20”);
pdfConverter.InsertFromHtmlString(content, webPageSettings);
if (pdfConverter.Convert(pdfDoc))
{
//Success code
}
else
{
pdfConverter.GetHTTPErrorCode().ToString();
pdfConverter.GetLog();
}
}

The pdfConverter.GetHTTPErrorCode() retuens 0 and pdfConverter.GetLog() return below message.

Exit code: 0XC0000135 Missing output file C:/Users/ABCDE~2/AppData/Local/Temp/pdftron/Trn-1988-1663934654-10b27016-3df5-486e-821a-fc1d3b0da779

This issue in happening only on the server. It is working perfectly in local environment.

I have noticed the file html2pdf.dll with version 0.12.6.0 is there on the directly where the exe is present.

pdfConverter.SetMargins(“20”, “20”, “20”, “20”);
this is missing units, it should be something like.
pdfConverter.SetMargins(“20pt”, “20pt”, “20pt”, “20pt”);

This issue in happening only on the server.

What exact server OS and framework are you using?
Please provide full details/screenshot of the setup.

I have noticed the file html2pdf.dll with version 0.12.6.0 is there on the directly where the exe is present.

Please provide a screenshot showing the folder contents of the folder you pass to HTML2PDF.SetModulePath

It is running in Windows Server 2016 Datacenter edition. The framework the application is running is .Net 4.6.2. Please refer the below image for more detail about the server.

We are not specifying the HTML2PDF.SetModulePath, as the exe and html2pdf.dll are on the same folder. Moreover I was checking the validation HTML2PDF.IsModuleAvailable(), it is returning true.
Below is the complete file list of our output folder.

Does the use account have execute permission on html2pdf.dll?

What happens if you call html2pdf.dll from the command line. should be something like the following.

The other option is to switch to our new Chromium based HTML2PDF module.

Thank you Ryan for the command to validate it. We noticed some of the dependency dlls were missing in the package. After adding those missing dlls, it is working as expected. Thanks.