Problems with the configuration of web.config

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
GustavoAdolfo
Posts: 4
Joined: Thu 21 Nov 2013 13:46

Problems with the configuration of web.config

Post by GustavoAdolfo » Fri 21 Mar 2014 21:10

I can not configure the devart on my web application test. I have downloaded the 7.3.155 version express and I can't make it work. Some help?
My web.config :

Code: Select all

<system.web>
		<compilation debug="true" targetFramework="4.5">
			<assemblies>
				<add assembly="Devart.Data, Version=5.0.907.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>
				<add assembly="Devart.Data.PostgreSql, Version=7.3.115.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>
				<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
				<add assembly="EasyLab.Providers" />
				<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
				<add assembly="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
				<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
				<add assembly="System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
				<add assembly="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
			</assemblies>
		</compilation>
...
</system.web>
Then, I receive this error:

No Entity Framework provider found for the ADO.NET provider with invariant name 'Devart.Data.PostgreSql'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

When I include:

Code: Select all

<entityFramework>
<providers>			
<provider invariantName="Devart.Data.PostgreSql" type="Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=7.3.115.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
...
	</entityFramework>
Then get this error:

The Entity Framework provider type 'Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=7.3.115.0, Culture=neutral, PublicKeyToken=09af7300eec23701' registered in the application config file for the ADO.NET provider with invariant name 'Devart.Data.PostgreSql' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

Thank you for help

Shalex
Site Admin
Posts: 8241
Joined: Thu 14 Aug 2008 12:44

Re: Problems with the configuration of web.config

Post by Shalex » Mon 24 Mar 2014 10:28

The Express edition of dotConnect for PostgreSQL does not support Entity Framework: http://www.devart.com/dotconnect/postgr ... tions.html.

Please install dotConnect for PostgreSQL Professional Edition and register Entity Framework provider as it is described at http://blog.devart.com/entity-framework ... force.html.

If you encounter any difficulties, let us know.

GustavoAdolfo
Posts: 4
Joined: Thu 21 Nov 2013 13:46

Re: Problems with the configuration of web.config

Post by GustavoAdolfo » Mon 24 Mar 2014 15:55

Thank you.
Now I am test the trial version and works fine except the character conversions... :(

Shalex
Site Admin
Posts: 8241
Joined: Thu 14 Aug 2008 12:44

Re: Problems with the configuration of web.config

Post by Shalex » Wed 26 Mar 2014 17:55


Post Reply