Get database server availability

Topics: Data Access Application Block
Apr 16, 2009 at 3:32 PM
I am using DAAB in my website. Database server is sql server 2005.

Suppose, if a user requested a page, at that time, if database is not available (crash, network failure), user need to wait 30 secs to get proper response.

Is there any way to check status of database server using DAAB?

Rajesh A
Apr 17, 2009 at 12:38 AM
No, that's out of scope for the intended use of the DAAB. You'll need to use whatever database-specific tools you have to do this.