|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2010-03-15 08:39:42
Posts: 19,
Visits: 63
|
|
Hi all,
We just moved to ECO 5 and now we have a deployment issue.
The situation is that when we build our application on developer machine and run it everything is OK. However, if we build the application on our build machine we are receiving message about obtaining only 12 classes (message of ECO trial version) in moment of running it. So, are there any changes regarding ECO 5 deploying? Proper licenses.licx file is still in EcoSpace project.
As I said, with our previous builds with ECO 4 we had no problems. Deployed versions from our build machine worked fine and we don't see any changes which could target deployment.
I notice that in or EcoSpace package built on developer machine licence resource have this
000000: 00 01 00 00 00 FF FF FF FF 01 00 00 00 00 00 00 .....????.......
000010: 00 10 01 00 00 00 02 00 00 00 06 02 00 00 00 16 ................
000020: 52 43 53 2E 45 55 52 41 44 2E 45 43 4F 53 50 41 RCS.EURAD.ECOSPA
000030: 43 45 2E 44 4C 4C 09 03 00 00 00 04 03 00 00 00 CE.DLL..........
000040: 1C 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 .System.Collecti
000050: 6F 6E 73 2E 48 61 73 68 74 61 62 6C 65 07 00 00 ons.Hashtable...
000060: 00 0A 4C 6F 61 64 46 61 63 74 6F 72 07 56 65 72 ..LoadFactor.Ver
000070: 73 69 6F 6E 08 43 6F 6D 70 61 72 65 72 10 48 61 sion.Comparer.Ha
000080: 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72 08 48 shCodeProvider.H
000090: 61 73 68 53 69 7A 65 04 4B 65 79 73 06 56 61 6C ashSize.Keys.Val
0000A0: 75 65 73 00 00 03 03 00 05 05 0B 08 1C 53 79 73 ues..........Sys
0000B0: 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E tem.Collections.
0000C0: 49 43 6F 6D 70 61 72 65 72 24 53 79 73 74 65 6D IComparer$System
0000D0: 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 49 48 61 .Collections.IHa
0000E0: 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72 08 EC shCodeProvider.?
0000F0: 51 38 3F 02 00 00 00 0A 0A 0B 00 00 00 09 04 00 Q8?.............
000100: 00 00 09 05 00 00 00 10 04 00 00 00 01 00 00 00 ................
000110: 06 06 00 00 00 64 45 63 6F 2E 48 61 6E 64 6C 65 .....dEco.Handle
000120: 73 2E 45 63 6F 53 70 61 63 65 2C 20 45 63 6F 2E s.EcoSpace, Eco.
000130: 48 61 6E 64 6C 65 73 2C 20 56 65 72 73 69 6F 6E Handles, Version
000140: 3D 35 2E 30 2E 30 2E 30 2C 20 43 75 6C 74 75 72 =5.0.0.0, Cultur
000150: 65 3D 6E 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 e=neutral, Publi
000160: 63 4B 65 79 54 6F 6B 65 6E 3D 34 36 61 38 33 33 cKeyToken=46a833
000170: 62 65 39 65 39 30 64 65 38 63 10 05 00 00 00 01 be9e90de8c......
000180: 00 00 00 06 07 00 00 00 27 35 41 46 30 2D 36 30 ........'XXXX-XX
000190: 38 43 2D 32 43 44 31 2D 44 43 35 34 2D 31 36 45 XX-XXXX-XXXX-XXX
0001A0: 31 2D 31 39 33 36 2D 46 32 31 43 2D 44 30 39 34 X-XXXX-XXXX-XXXX
0001B0: 0B .
and built on build machine have this value
000000: 00 01 00 00 00 FF FF FF FF 01 00 00 00 00 00 00 .....????.......
000010: 00 10 01 00 00 00 02 00 00 00 06 02 00 00 00 16 ................
000020: 52 43 53 2E 45 55 52 41 44 2E 45 43 4F 53 50 41 RCS.EURAD.ECOSPA
000030: 43 45 2E 44 4C 4C 09 03 00 00 00 04 03 00 00 00 CE.DLL..........
000040: 1C 53 79 73 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 .System.Collecti
000050: 6F 6E 73 2E 48 61 73 68 74 61 62 6C 65 07 00 00 ons.Hashtable...
000060: 00 0A 4C 6F 61 64 46 61 63 74 6F 72 07 56 65 72 ..LoadFactor.Ver
000070: 73 69 6F 6E 08 43 6F 6D 70 61 72 65 72 10 48 61 sion.Comparer.Ha
000080: 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72 08 48 shCodeProvider.H
000090: 61 73 68 53 69 7A 65 04 4B 65 79 73 06 56 61 6C ashSize.Keys.Val
0000A0: 75 65 73 00 00 03 03 00 05 05 0B 08 1C 53 79 73 ues..........Sys
0000B0: 74 65 6D 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E tem.Collections.
0000C0: 49 43 6F 6D 70 61 72 65 72 24 53 79 73 74 65 6D IComparer$System
0000D0: 2E 43 6F 6C 6C 65 63 74 69 6F 6E 73 2E 49 48 61 .Collections.IHa
0000E0: 73 68 43 6F 64 65 50 72 6F 76 69 64 65 72 08 EC shCodeProvider.?
0000F0: 51 38 3F 00 00 00 00 0A 0A 0B 00 00 00 09 04 00 Q8?.............
000100: 00 00 09 05 00 00 00 10 04 00 00 00 00 00 00 00 ................
000110: 10 05 00 00 00 00 00 00 00 0B ..........
Why it is like this? Do we have to install ECO 5 on build machine? We have all dll's in project librery folder so we never install anything on build machine - all refences to dll's are to this folder.
Thanks in advance
/KrisD
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2010-06-26 12:18:19
Posts: 18,
Visits: 199
|
|
Hi Kris,
I had similar problem when copied the project on another machine (with ECO5 installed). For some reason it complained about the 12 classes license. I had to reinstall ECO and everything went fine.
As for deployment test machine - I had no problem so far. So double check everything again, rebuild and try again...
--
Oleg Zhukov
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2010-03-15 08:39:42
Posts: 19,
Visits: 63
|
|
Hi Oleg,
I understand that on deployment machine you didn't install ECO 5!? Right?
/KrisD
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2010-06-26 12:18:19
Posts: 18,
Visits: 199
|
|
Yes. I just copied the executable with all assemblies (private deployment). Try to reproduce the problem on a new sample application (with classes like Class1, Class2... Class13) and on different clean machines (or VMs)...
--
Oleg Zhukov
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-07-21 00:21:24
Posts: 1 228,
Visits: 1 373
|
|
There is no need to install ECO or the ECO license key on machines that just need to run ECO applications (you can xcopy deploy the ECO assemblies with your app).
To build an ECO project, you have to have the ECO license installed on the machine. If you don't have VS on your machine, you can just install the ECO license manually by copying the file "ECO5VS.LIC" from the folder %ProgramData%\CapableObjects to the build machine.
/Jonas Hogstrom [CapableObjects]
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2010-03-15 08:39:42
Posts: 19,
Visits: 63
|
|
Thanks Jonas.
Exactly this is what I was missing. I added ECO5VS.LIC to catalog with my EcoSpace project but actually it had to be added to ..\ProgramData\CapbleObjects folder of build machine. I actually found out that ECO4VS.LIC is there and thats why I had no problem with project in ECO 4.
Thanks again. Problem solved.
/KrisD
|
|
|
|