Persits Software, Inc. Knowledge Base Articles

The request has timed out error

Problem Description

When converting HTML to PDF with the ImportFromUrl method, the following error may occur:

Persits.PdfManager.1 error '800a006b'
MSXML2::ServerXMLHTTP Error: The request has timed out.

Solution

According to Microsoft KB article Q316451, "the calling Active Server Page (ASP) should not send requests to an ASP in the same virtual directory or to another virtual directory in the same pool or process. This can result in poor performance due to thread starvation."

If ImportFromUrl, which internally uses the ServerXMLHTTP object, is to invoke another ASP on the same server, the target ASP must be located in a different virtual directory and set to run in high isolation.

For details, please read article Q316451.