Larry Brister
asked on
Server down redirect
Hey folks,
I'm using SQL Database as my datasource. What is the best method to look at a different server if server one is down.
I need to do this in VB code behind inthe Master file I guess.
I'm using SQL Database as my datasource. What is the best method to look at a different server if server one is down.
I need to do this in VB code behind inthe Master file I guess.
ASKER
DanielWilson:
Yes...that would work. You have an example?
Yes...that would work. You have an example?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. This put me on the track I needed.
Somewhere ... maybe actually in a page from which your content pages inherit ... you could put a Connection property.
This property would:
* Instantiate a SqlConnection, if not already done
* Attempt to connect to the primary DB server
* If that fails, attempt to connect to the second DB server
* Return the connection
Think that will work for you?