Enterprise Library

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
rogerio.bassete
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Enterprise Library

Post by rogerio.bassete » Thu 15 Jul 2010 12:50

Hi,

I use dotConnet and Enterprise Library for many years. Now, I upgraded dotConnect of 465 to 495 and EL of 4.1 to 5.0.

I compiled the Devart.Data.PostgreSql.EnterpriseLibrary (3.5) with VS 2008.

Now, when I go start my application, a error occurs in microsoft.practices.servicelocation.dll

If I install dcpostgresql495pro client only, the error does not is reported. But if copy just files (Devart.data.dll, devart.data.postgresql.dll and devart.data.postgresql.enterpriselibrary.dll ) in folder of my application. The error above is reported.

In your demo of EL, the same error occurs!

Why?

Rogério

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

Post by Shalex » Thu 15 Jul 2010 14:56

We are working on Enterprise Library 5.0 support. We will post here when it is implemented.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 29 Jul 2010 13:13

We've released dotConnect for PostgreSQL 4.95.152 in which Enterprise Library 5 is supported. The new build can be downloaded from
http://www.devart.com/dotconnect/postgr ... nload.html
(the trial version) or from Registered Users' Area (provided that you have an active subscription):
http://secure.devart.com/

For more information on improvements and fixes available in the 4.95.152 version, please refer to
http://www.devart.com/forums/viewtopic.php?t=18591

rogerio.bassete
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Post by rogerio.bassete » Mon 02 Aug 2010 15:06

Sorry, but the error persist in dotConnect for PostgreSQL 4.95.152 and Enterprise Library 5.

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

Post by Shalex » Wed 04 Aug 2010 09:24

I cannot reproduce any problem with dotConnect for PostgreSQL 4.95.152: I have built Devart.Data.PostgreSql.EnterpriseLibrary.dll (sources are included into our installation folder) with references to assemblies from Enterprise Library 5.0, and then run our DataAccessQuickStart sample.
Please specify the problem:
1) the exact text of the error;
2) the call stack;
3) the steps we should follow to reproduce the issue in our environment. A small test project will be appreciated.

rogerio.bassete
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Post by rogerio.bassete » Tue 10 Aug 2010 13:54

Please,

Get your project in C:\Program Files\Devart\dotConnect\PostgreSQL\Enterprise Library\NET3.5\Tests\Devart.Data.PostgreSql.EnterpriseLibrary.Tests.NUnit.sln.

1) Compile and copy the bin folder for other PC which has not DevArt client installed;
2) Run the sample.

A error occurs in microsoft.practices.servicelocation.dll

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

Post by Shalex » Wed 11 Aug 2010 15:26

Please follow these steps:
1) add the Devart.Data.dll and Devart.Data.PostgreSql.dll assemblies to GAC at your deployment environment;
2) inform your environment about the existence of the provider factory. Describe provider factory in \WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config. This is done as follows:

Code: Select all

  
    
  
Replace 4.95.152.0 here with your actual version.

Post Reply