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

Free Support Forum - aspose.com

Timeout saving www.microsoft.com as a PDF

The following always appears to generate an exception after about 40 seconds: "System.Net.WebException: The operation has timed out."

var pdf = new Pdf();




I have tested this and found that although this code works with other websites but has problems with microsoft website. I have logged this as PDFNET-4609 in our issue tracking system. We will try our best to figure out the cause of this problem and try to rectify it as soon as possible.


I also tried it with a couple of other URLs at random:


Both generate argument exceptions when used in the above code. I imagine there are sometimes objects in web pages that can’t easily be converted to PDF but I would have expected some kind of placeholder instead of an exception.


I will discuss this with the developers to see if we can better handle those pages which are not supported.



I think the reason is that those sites use default pages and the pages are not included in the url. We will investigate how to support this.