TypeInitializationException using LINQPad
Posted: Fri 05 Sep 2014 19:29
I'm trying to connect to a Redshift database using LINQPad. I created a connection using an existing data context in an assembly that I created using LinqConnect model classes, and I specified the app.config file containing the connection string.
The connection appears to be added successfully in LINQPad, i.e. it displays the correct list of tables. When I attempt to execute a query, it displays the following error:
TypeInitializationException: The type initializer for 'Devart.Data.PostgreSql.PgSqlConnectionStringBuilder' threw an exception.
Any ideas?
The connection appears to be added successfully in LINQPad, i.e. it displays the correct list of tables. When I attempt to execute a query, it displays the following error:
TypeInitializationException: The type initializer for 'Devart.Data.PostgreSql.PgSqlConnectionStringBuilder' threw an exception.
Any ideas?