This discussion is archived
2 Replies Latest reply: Nov 1, 2012 4:52 AM by Niels Jespersen RSS

Detect programatically if is unavailable, how?

Niels Jespersen Explorer
Currently Being Moderated
Hello all

ODP., Win 7 x64, Oracle RDBMS on Win2008R2. .net 4.0 Visual Studion 2010 Development Environment.

We hava a number of internal Winforms applications using Mostly everything works fine, and for the odd error, exception handling gives the user nice error messages.

But if ODP.NET is missing or not installed properly, the applications fails miserably, even before a connection is attempted. Just the reference to is there, the application fails with a system.IO.FileNotFoundException that we cannot catch.

How do we handle this situation gracefully? Someting like som sort of probing for under the control of exception handling. Any thoughts?

Best regards Niels Jespersen


  • Correct Answers - 10 points
  • Helpful Answers - 5 points