Multiple Installations in BuildServer

Multiple Installations in BuildServer

Postby degas » Mon 08 Nov 2010 15:33

I want to know if it is possible to have in the same build server, several versions of DevArt (in my specefic case 5.20.33 and 5.35.79 )? If it is possible, how?
degas
 
Posts: 77
Joined: Mon 16 Feb 2009 18:36
Location: Argentina

Postby StanislavK » Tue 09 Nov 2010 12:28

It is only possible to use run-time dotConnect for Oracle assemblies of different versions on this server. To ensure that the necessary version is used, please check that the Specific Version property of the corresponding reference is set to true, and that there are no policy.*.Devart.* files in the GAC.

As for the design-time features such as Visual Studio integration, you can use them with a single version only (in this case, you still can use run-time assemblies of another version).

Feel free to contact us if anything is unclear.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby degas » Tue 09 Nov 2010 14:17

I have installed both versions. How do i check that there are no policy.*.Devart.* files in the GAC?
I have read the Gacutil help and i have not found any reference on how to achieve this.
degas
 
Posts: 77
Joined: Mon 16 Feb 2009 18:36
Location: Argentina

Postby StanislavK » Wed 10 Nov 2010 11:28

To clear the GAC from policy files, you can, for example, open the Assembly system folder (e.g., type 'assembly' in the Start -> Run dialog) and delete all files named like policy.*.Devart.*.dll .

Please tell us if this helps.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby degas » Thu 25 Nov 2010 14:53

I cannot install different versions of DevArt on the server. What i have is the dlls of devart, in my repository and the projects reference them, from that path, relative to the project.
The problem i have is with a WebSite, that has the dlls in the bin folder. When i compile them in the build server i get the following error.

ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'Devart.Data, Version=5.0.40.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
degas
 
Posts: 77
Joined: Mon 16 Feb 2009 18:36
Location: Argentina

Postby StanislavK » Thu 25 Nov 2010 16:26

Please check the actual version of the Devart.Data assembly located at the specified path. As I can understand, it should be 5.0.40 (corresponding to the 5.35.79 version of dotConnect for Oracle). If the version number is correct, please ensure that this assembly belongs to the proper edition (Professional, Standard or Express) of dotConnect for Oracle.

Please tell us if this helps.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby degas » Thu 25 Nov 2010 17:18

I have solved. What i have to do was to install the newer version and do not unistall de dll from de GAC.
This way it worked ok.
degas
 
Posts: 77
Joined: Mon 16 Feb 2009 18:36
Location: Argentina


Return to dotConnect for Oracle