The default timeout for abcpdf is 15 seconds. If the page takes more than 15 seconds, you will get this exception.
Add the line below immediately after creating the document object to solve the problem.
theDoc.XHtmlOptions.Timeout = 10000000;
Chandan dubey
source share