I'm evaluating dotConnect for PostgreSQL and I have switched all of my existing configuration (web.config) from SQL Server to PostgreSQL. Now when I hit the dbContext.Database.Exists() I get the following error:
Code: Select all
"Message": "An error has occurred.",
"ExceptionMessage": "Sequence contains no matching element"
Code: Select all
<section name="Devart.Data.PostgreSql.Entity" type="Devart.Data.PostgreSql.Entity.Configuration.PgSqlEntityProviderConfigurationSection, Devart.Data.PostgreSql.Entity" />
<add name="DefaultConnection" providerName="Devart.Data.PostgreSql" connectionString="Server=localhost;Port=5432;Database=db;user=username;password=pass;" />
<DbProviderFactories>
<remove invariant="Devart.Data.PostgreSql" />
<add name="dotConnect for PostgreSQL" invariant="Devart.Data.PostgreSql"
description="Devart dotConnect for PostgreSQL"
type="Devart.Data.PostgreSql.PgSqlProviderFactory, Devart.Data.PostgreSql" />
</DbProviderFactories>
<defaultConnectionFactory type="MyNameSpace.PostgresConnectionFactory, MyAssembly">
</defaultConnectionFactory>
<providers>
<provider invariantName="Devart.Data.PostgreSql" type="Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices,
Devart.Data.PostgreSql.Entity" />
</providers>
I'm using the .NET 4.5.1, EF 6.x, VS 2013 and PostgreSQL Server 9.3.2 and I'm using dotConnect version 7.2.55.
Any ideas ?
Thanks