Welcome Guest Search | Active Topics | Sign In | Register

1006:The given remote host was not resolved. Options
Joseph Malka
Posted: Wednesday, November 25, 2015 2:18:15 AM
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,
eo_support
Posted: Wednesday, November 25, 2015 9:53:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

Please try to use a full path instead of a relative path for the HTML file name.

Thanks!
Joseph Malka
Posted: Tuesday, December 1, 2015 8:20:30 AM
Rank: Member
Groups: Member

Joined: 10/17/2013
Posts: 22
Hi,

Your suggestion solved my problem.

Thanks
eo_support
Posted: Tuesday, December 1, 2015 9:28:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Great! Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.