what is the exact exception fro database faliure in a network
-
There is no single exception. There can be a mariad of problems causing different exceptions at different stages of connecting and executing a query.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Network failures usually get TCP exceptions. Usually when I want to test a network failure adequately I yank the cable in debug mode.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
If you don't ask questions the answers won't stand in your way.
Most of this sig is for Google, not ego. -
Network failures usually get TCP exceptions. Usually when I want to test a network failure adequately I yank the cable in debug mode.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
If you don't ask questions the answers won't stand in your way.
Most of this sig is for Google, not ego.Definitely; there's no data like emperical data.