On Thu, 2010-08-12 at 07:12 -0700, Paul wrote:
> Trying to connect and ... oh dear...
> 
> Got the following runtime error:
> System.ArgumentException: Unknown connection string keyword:
> 'DbLinqProvider' and been stuck on this ever since... tried various
> things, so am falling back on advice now.

IngresConnection doesn't like "non-standard" connection string keywords
like DbLinqProvider.  Consequently, you can't use IngresConnection
directly as you're doing, you'll need to instead stick to connection
strings:

        var connectionString = "DbLinqProvider=Ingres; " +
                "DbLinqConnectionType=" + 
                typeof(IngresConnection).AssemblyQualifiedName + "; " +
                
ConfigurationManager.ConnectionStrings["IngresConnectionString"].ConnectionString;
        return new myContext (connectionString);

The Wiki has been updated to point this out:
http://code.google.com/p/dblinq2007/wiki/Installation?ts=1281634238&updated=Installation

 - Jon


-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to