Here's the problem. If the query runs for a long time the browser generates an error that page could not be retrieved for the server (client timeout). At the same time ASPDB (registered through Transaction Server) keeps on running the query and does not detect that client timed out. If there any way to programmatically or through IIS manager to disable or extend the client timeout value or have ASPDB terminate it's query when the client timeout.