Enterprise Library
-
- Posts: 15
- Joined: Sat 05 Aug 2006 20:55
- Location: Brazil
Enterprise Library
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
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
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
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
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
-
- Posts: 15
- Joined: Sat 05 Aug 2006 20:55
- Location: Brazil
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.
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.
-
- Posts: 15
- Joined: Sat 05 Aug 2006 20:55
- Location: Brazil
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
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
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:
Replace 4.95.152.0 here with your actual version.
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