Get database server availability

Topics: Data Access Application Block
Apr 16, 2009 at 2: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 16, 2009 at 11:38 PM
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.