ArgumentException during connection

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 22
Joined: Mon 30 Mar 2009 16:00

ArgumentException during connection

Post by Idsa » Mon 30 Mar 2009 16:09

I can't connect to database using dotConnect for Oracle. I get an ArgumentException at ObjectContext constructor without arguments.
Here is my connection string:

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

Post by AndreyR » Tue 31 Mar 2009 08:40

Please try to call the constructor with the string Name parameter like in the following fragment:

Code: Select all

MyObjectContext db = new MyObjectContext("name=EisEntities");
If the exception persists, please post here both message and call stack of the exception you get.

Post Reply