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?
TypeInitializationException using LINQPad
Re: TypeInitializationException using LINQPad
Thank you for the report on this. We have reproduced this issue. We will investigate it in more details and inform you about the results as soon as possible.TypeInitializationException: The type initializer for 'Devart.Data.PostgreSql.PgSqlConnectionStringBuilder' threw an exception.
-
- Posts: 3
- Joined: Fri 05 Sep 2014 19:20
Re: TypeInitializationException using LINQPad
Thanks for investigating, I look forward to your reply!
Re: TypeInitializationException using LINQPad
The bug related to the "The type initializer for 'Devart.Data.PostgreSql.PgSqlConnectionStringBuilder' threw an exception" error is fixed.
New build of dotConnect for PostgreSQL 7.3.244 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=3&t=30377.
New build of dotConnect for PostgreSQL 7.3.244 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=3&t=30377.
-
- Posts: 3
- Joined: Fri 05 Sep 2014 19:20
Re: TypeInitializationException using LINQPad
That works, thanks!