I recently updated to 6.8.322.0, just downloaded and installed binaries on my computer. Now when I first try to use EF it throws exception:
Code: Select all
The 'Instance' member of the Entity Framework provider type 'Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=6.8.322.0, Culture=neutral, PublicKeyToken=09af7300eec23701' did not return an object that inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. Entity Framework providers must extend from this class and the 'Instance' member must return the Singleton instance of the provider.
- Version 6.8.322.0 is not mentioned anywhere in my project, I reference old dlls (6.7), located in my project directory. Changing them to 6.8 doesn't help
- I have following entries in my app.config:
I tried changing the version in app.config (and removing them altoghter), again no success
Code: Select all
<entityFramework> <defaultConnectionFactory type="Hakon.Estomed.DataAccess.Base.PgSqlConnectionFactory, Estomed.DataAccess" /> <providers> <provider invariantName="Devart.Data.PostgreSql" type="Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=6.7.287.6, Culture=neutral, PublicKeyToken=09af7300eec23701" > </provider> </providers> </entityFramework> <system.data> <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, Version=6.8.322.0, Culture=neutral, PublicKeyToken=09af7300eec23701" /> </DbProviderFactories> </system.data>
- I have also tried all mentioned solutions with version 6.8.333.0, to no avail