Installation required on buildserver?

Installation required on buildserver?

Postby Koenj » Fri 08 Oct 2010 08:28

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
Koenj
 
Posts: 2
Joined: Fri 08 Oct 2010 08:25

Postby StanislavK » Fri 08 Oct 2010 16:30

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

Postby Koenj » Mon 11 Oct 2010 06:53

My question actually was if it was required to install dotConnect for PostgreSQL on the buildserver.

As your first step is "uninstall dotConnect for PostgreSQL",
I suppose it is not possible to have the buildserver without installing
dotConnect for PostgreSQL?


Thanks,
Koen
Koenj
 
Posts: 2
Joined: Fri 08 Oct 2010 08:25

Postby StanislavK » Mon 11 Oct 2010 09:22

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


Return to dotConnect for PostgreSQL