Page 1 of 1

Multiple Installations in BuildServer

Posted: Mon 08 Nov 2010 15:33
by degas
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?

Posted: Tue 09 Nov 2010 12:28
by StanislavK
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.

Posted: Tue 09 Nov 2010 14:17
by degas
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.

Posted: Wed 10 Nov 2010 11:28
by StanislavK
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.

Posted: Thu 25 Nov 2010 14:53
by degas
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)

Posted: Thu 25 Nov 2010 16:26
by StanislavK
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.

Posted: Thu 25 Nov 2010 17:18
by degas
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.