I have a sql query in asp that takes a long time to run, and always times out in asp. I can&#039;t just set the timeout in asp, because it isn&#039;t the web server that&#039;s timing it out, but the database server. Is there a way I can capture this and display a message based on it...like go back to previous page and enter more search data<BR><BR>thanks