Enterprise Library

Enterprise Library

Postby 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
rogerio.bassete
 
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Postby Shalex » Thu 15 Jul 2010 14:56

We are working on Enterprise Library 5.0 support. We will post here when it is implemented.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Postby 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/postgresql/download.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
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby rogerio.bassete » Mon 02 Aug 2010 15:06

Sorry, but the error persist in dotConnect for PostgreSQL 4.95.152 and Enterprise Library 5.
rogerio.bassete
 
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Postby 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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Postby 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
rogerio.bassete
 
Posts: 15
Joined: Sat 05 Aug 2006 20:55
Location: Brazil

Postby 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

 
        description="Devart dotConnect for PostgreSQL" type="Devart.Data.PostgreSql.PgSqlProviderFactory, Devart.Data.PostgreSql, Version=4.95.152.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
 


Replace 4.95.152.0 here with your actual version.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL