Does anyone know how to trap for script timeout errors, so that if it happens I can present a user friendly message instead of the message
"The maximum amount of time for a script to execute was exceeded. You can change the limit by specifying a new value for the property Server.ScriptTimeOut or by changing the value in the IIS administration tools."
Please note that I have already increased the timeout value . I am looking for a generic way for testing for script timeout rather than a way to improve performance.