Page 1 of 1

The underlying provider failed on open

Posted: Mon 14 Mar 2011 16:25
by FrankHealy
I have installed dotConnect driver on a number of machines and on 2 of them when I run a test application I get the above error. It is very frustrating as the machines are a standard build?

How can I get to the bottom of such a generic error?

Posted: Tue 15 Mar 2011 10:24
by AndreyR
Take a look at the InnerException property of the exception. It should show details of the problem.
You can go to Tools->Options...->Debugging, and disable the Enable Just My Code (Managed Only) check box. Then go to Debug->Exceptions and enable Common Language Runtime Exceptions check box. These actions will allow you to catch the inner exception before it is wrapped by Entity Framework code.