My code selects a row from a View based on a primary key. The key is inputted by the user. It all works fine except when the key entered is invalid (i.e. not in the DB). When this happens I want to display an error message but instead of ececuting and returning zero rows the screen freezes and eventually i get this error <BR><BR>Error Type:<BR>Active Server Pages, ASP 0113 (0x80004005)<BR>The maximum amount of time for a script to execute was exceeded<BR><BR>Can i get around this? Or catch the timeout error and display my own error message?