Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
In the code how can we check for below errors i) DB files not available ii) DB is corrupted iii) Driver errors.
Just try to access it and display an the Exception.Message if one is thrown -- what else would you try to do?