The underlying provider failed on open

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
FrankHealy
Posts: 5
Joined: Mon 14 Mar 2011 15:58

The underlying provider failed on open

Post by FrankHealy » Mon 14 Mar 2011 16:25

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?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 15 Mar 2011 10:24

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.

Post Reply