Rank: Member Groups: Member
Joined: 10/17/2013 Posts: 22
|
Hi,
We upgraded to your new version ( 15.2.88.0 both eo.pdf.dll ans eo.base.dll)
When we run our application to convert an HTML, it works fine. We use - HtmlToPdfResult pdfResult = EO.Pdf.HtmlToPdf.ConvertUrl(sourceFile, new PdfDocument(), options);
But when we run it from NUNIT to convert the same HTML to PDF, it fails due to exception- "Failed to convert Url '../../data/No_Issues-Android.html.1.html'.(1006:The given remote host was not resolved.)"
StackTrace: at EO.Internal.alf.b(BinaryReader A_0) at EO.Internal.aix.a(alf A_0) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options) at ConvertHtmlReport2Pdf.EoPdfWrapper.ConvertHtmlToPdf()
What can I do t fix it?
Thanks,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please try to use a full path instead of a relative path for the HTML file name.
Thanks!
|
Rank: Member Groups: Member
Joined: 10/17/2013 Posts: 22
|
Hi,
Your suggestion solved my problem.
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Great! Please feel free to let us know if you have any more questions.
Thanks!
|