Page 1 of 1

Enterprise Library

Posted: Thu 15 Jul 2010 12:50
by rogerio.bassete
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

Posted: Thu 15 Jul 2010 14:56
by Shalex
We are working on Enterprise Library 5.0 support. We will post here when it is implemented.

Posted: Thu 29 Jul 2010 13:13
by StanislavK
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

Posted: Mon 02 Aug 2010 15:06
by rogerio.bassete
Sorry, but the error persist in dotConnect for PostgreSQL 4.95.152 and Enterprise Library 5.

Posted: Wed 04 Aug 2010 09:24
by Shalex
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.

Posted: Tue 10 Aug 2010 13:54
by rogerio.bassete
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

Posted: Wed 11 Aug 2010 15:26
by Shalex
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.