Is it possible to catch a classical ASP Scripting Timeout and redirect to a proper self defined error page, to avoid that the user sees the runtime error page ?
+4
A:
Are you using IIS? You can configure IIS to have a predefined error page.
EDIT
Take a look at this site on configuring your error pages on IIS. You should be able to create an error page that can display a friendly message to the user whenever timeouts occur...I know for the company I work for, we experienced SQL timeouts before recently upgrading our systems.
You can also look at this site for some classic ASP code to get the latest server error.
Hope this helps.
Aaron
2010-03-02 16:07:11
yes I use IIS !
Elmex
2010-03-02 16:09:08
what version of IIS and what OS is IIS running on?
Aaron
2010-03-02 16:09:28
iis 6 on a windows 2003 server
Elmex
2010-03-02 16:13:09
@Aaron: you helped me already with your idea !
Elmex
2010-03-02 16:15:54
Glad to hear it. Take a look at the sites I just suggested...they may help you even further.
Aaron
2010-03-02 16:20:39