We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Example code doesnot work

This code https://github.com/aspose-pdf/Aspose.Pdf-for-.NET/blob/master/Examples/CSharp/AsposePDF/Text/AddHTMLUsingDOM.cs

Generates an exception. I’m using version 17.10

the exception : “Failed to parse URL.”

I figured out the issue! My test project was on a network drive with a long path.

The exception still not descriptive. Hope you do something soon about it.

Thx

@khaled2

Thanks for acknowledging us.

It is good to know that you have resolved the issue by yourself. However it seems that the issue was caused due to network drive path. Would you please share the value of dataDir variable in the example, at the time of exception occurrence. We will test the scenario in our environment and handle it accordingly in the example project.