<customErrors mode="Off"/>

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to use <customErrors mode="Off"/> in the web.config file; but I want
to have custom error message for database time out error message. Is it
possible?
 
One way to achieve this would be to handle the database timeout exception in
your code ... maybe at a masterpage or a basepage level, and should a
time-out occur at db level, you can redirect it to the customized error page.

HTH
 
The code is feeding object data source. how to capture the timeout exeption
raised by object data source?
 
Back
Top