Determine when server is unavailable



I need to support "offline operation" - that is, if the DB server for
whatever reason is unavailable (network communication down, server crashed,
someone cut the users cat5, etc) I need to store the data locally until
communication is restored at which point I will catch-up on a worker thread
and update everything.

My problem is determining when the server is unavailable. I have tried to
come up with a clever process to catch events and exceptions that would
indicate loss of server availability, but they end up being a little too all
encompassing. In other words, I want avoid a bug on my part throwing an
exception and being treated as a server outage.

I guess I could resort to running Reg. Expressions on the exception message?

Have any of you had to implement something like this? If so, how did you
handle this?

Thanks,
Steve


.



Relevant Pages

  • Re: Determine when server is unavailable
    ... whatever reason is unavailable (network communication down, server crashed, ... My problem is determining when the server is unavailable. ... exception and being treated as a server outage. ... That's the way to use store forwarding. ...
    (microsoft.public.dotnet.languages.csharp)
  • More VPN Issues
    ... I have successfully connected my Audiovox 6600 to VPN via PPTP. ... myself connected at the server and it will remian connected and stable, ...
    (microsoft.public.pocketpc)
  • Re: Bizarre one-way network disconnection
    ... the server will reject all network communication on ... > packets to it until it responds to an ARP request, ... > problem when pinging out, for example, because the target host (or the ...
    (Debian-User)
  • RE: Backup & Monitoring not working!
    ... Error message in Windows Small Business Server 2003: ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.windows.server.sbs)
  • Re: Sharepoint 2007 - Installation Error - Failed to register SP s
    ... Windows 2000 Server. ... It is a bug with Beta 2 where the database server is running Windows 2000. ... Server I have the following exception: ... RunBehavior runBehavior, String resetOptionsString) ...
    (microsoft.public.sharepoint.portalserver)