Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DetailsView control - where do I catch db timeout exception?

Reply
Thread Tools

DetailsView control - where do I catch db timeout exception?

 
 
DotNetter
Guest
Posts: n/a
 
      06-21-2006
Hi all

I'm using several data controls that I've configured via the VS2005 gui
- setting datasources for example.

Occassionally when I view the page I get a connection timeout or some
other db error but I want to display a custom error page.

i've set the default error page in the app config but this isn't
working.

where can I catch db erros for data driven controls so that I can use a
response.redirect???

Cheers


Wayne

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
catch(...) doesn't catch everything Adam C++ 9 02-02-2006 05:02 PM
Catch errors when updating a DetailsView control stuart.d.jones@gmail.com ASP .Net 3 01-26-2006 12:32 PM
DetailsView - Changing to Insert Mode (Not By Using the Insert Button In the DetailsView Control) Feege ASP .Net Web Controls 0 12-20-2005 12:28 AM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
why catch (...) can not catch such exception John Black C++ 8 08-20-2004 02:34 PM



Advertisments