Page 1 of 1
ArgumentException during connection
Posted: Mon 30 Mar 2009 16:09
by Idsa
I can't connect to database using dotConnect for Oracle. I get an ArgumentException at ObjectContext constructor without arguments.
Here is my connection string:
Posted: Tue 31 Mar 2009 08:40
by AndreyR
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.