Hi all,
Is it required to have an installation of dotConnect - PostgreSQL
on a buildserver / every developer machine?
I included the devart libraries + license.licx file in my project,
as described in the documentation, but still get this error:
Devart.Data.PostgreSql.PgSqlException : License not valid due to the problems with dotConnect for PostgreSQL installation.
Thanks,
Koen
Installation required on buildserver?
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Such problem may occur, e.g., if the license resource is compiled for another version of dotConnect for PostgreSQL than the one that is actually used. For example, you could compile the license resource for the trial, but are using the licensed version, or vice versa.
Please try the following:
- uninstall dotConnect for PostgreSQL;
- clear the Program Files\Devart\dotConnect\ and Program Files\Common Files\Devart\dotConnect\ folders;
- remove all Devart.* and policy.*.Devart.* assemblies from the GAC;
- clear the Bin and Obj folders of your solution;
- re-install dotConnect for PostgreSQL;
- re-compile your application and the license resource.
If the problem persists, please send us a test project and/or its compiled binary so that we are able to investigate the issue in details.
Please try the following:
- uninstall dotConnect for PostgreSQL;
- clear the Program Files\Devart\dotConnect\ and Program Files\Common Files\Devart\dotConnect\ folders;
- remove all Devart.* and policy.*.Devart.* assemblies from the GAC;
- clear the Bin and Obj folders of your solution;
- re-install dotConnect for PostgreSQL;
- re-compile your application and the license resource.
If the problem persists, please send us a test project and/or its compiled binary so that we are able to investigate the issue in details.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
It should be possible to build an application that uses dotConnect for PostgreSQL on a machine where the latter one is not installed. The recommended way of doing so is to compile the license resource manually and add it to the solution:
http://www.devart.com/dotconnect/postgr ... tml#manual
Also, in such case you need to ensure that the dotConnect for PostgreSQL assemblies copied to the output directory of your solution are of the same version as the ones for which the license is compiled.
http://www.devart.com/dotconnect/postgr ... tml#manual
Also, in such case you need to ensure that the dotConnect for PostgreSQL assemblies copied to the output directory of your solution are of the same version as the ones for which the license is compiled.