Thanks for sharing sample HTML file.
We have observed an Exception of
('Failed to parse URL') while converting your HTML into PDF using following code snippet.
Aspose.Pdf.HtmlLoadOptions objLoadOptions = new Aspose.Pdf.HtmlLoadOptions();
objLoadOptions.PageInfo.Margin.Bottom = 0;
objLoadOptions.PageInfo.Margin.Top = 0;
objLoadOptions.PageInfo.Margin.Right = 0;
objLoadOptions.PageInfo.Margin.Left = 0;
objLoadOptions.PageInfo.Height = PageSize.A4.Width;
objLoadOptions.PageInfo.Width = PageSize.A4.Height;
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(dataDir + "TestReport123_2018-08-15 12-30-01.html", objLoadOptions);
doc.Save(dataDir + "SamplefromHtml.pdf");
We are sorry for the inconvenience.