Page 1 of 2

Licensing issues for mono on AIX

Posted: Fri 25 Sep 2009 10:29
by sebniepel
Hello,

we develop and compile our application on windows systems. We use a licensed version for Devart.Data.Oracle, Version=5.25.37.0. and Devart.Data, Version=5.0.2.0.
It all runs fine under windows and under Linux (X86) with mono.
When executing our program on AIX (PPC) with mono we get:
DEBUG - Devart.Data.Oracle.OracleException: Sorry, your trial period has expired.
To order registered version please visit Devart site at
www.devart.com/dotconnect/oracle/ordering.html
at Devart.Data.Oracle.OracleConnection.Open () [0x00000]

It is the same .exe file and same dlls copied to all systems. It would be really helpful to have some information on the licensing to search for that issue.
The time on the AIX maschine is correct.
Why does the Devart component think, we use a trial license?

Regards,
Sebastian

Posted: Fri 25 Sep 2009 14:03
by AndreyR
Please check the time zone of the AIX machine.
Time zone should be identical to the one set on the development machine.

Posted: Tue 29 Sep 2009 09:48
by sebniepel
The time zone is fine.

Anyhow, it is not a trial version I use.
Is there something to set back ( a registry entry, a file to delete, etc.)?

How is the time determined for the licensing? With that I can check if there are differences in the Linux/X86 and AIX/PPC installation for mono.

Regards,
Sebastian

Posted: Tue 29 Sep 2009 12:51
by AndreyR
Could you please compare the output of BitConverter.GetBytes(1.2345) on Linux and AIX machines?
This can cause the problem.

Posted: Tue 29 Sep 2009 14:39
by sebniepel
foreach (Byte b in BitConverter.GetBytes(1.2345))
{
Console.WriteLine(b);
}

AIX
63
243
192
131
18
110
151
141

Linux
141
151
110
18
131
192
243
63

Windows
141
151
110
18
131
192
243
63

Obviously the Byte order is a different order. The results stay the same regardless where I compiled the .exe file (same machine as runtime or Windows machine).

Posted: Tue 29 Sep 2009 16:17
by sebniepel
Hello,

I found out, that your question was related to the system's endianess.
For me it looks like, that Devart licensing relies on Little Endian, because it uses the BitConverter.

Mono says:
Problems with the CLI's System.BitConverter
The System.BitConverter class in the .NET framework 1.0 used to be a class that merely did conversions to and from host types into byte arrays. This means that developers had to roll their own routines and check for the endianness of the host system.

Because we use a PowerProcessor, we are on Big Endian.

Could you provide an updated version, which is endian independant?

Regards,
Sebastian

Posted: Wed 30 Sep 2009 07:48
by AndreyR
The problem is fixed. Look forward to the next build of dotConnect for Oracle.

Next build, when are you planning to release it?

Posted: Wed 07 Oct 2009 10:24
by Tobi
At the moment we are dependent on this change for our AIX implementation. Would be great to know your planned timeframe for delivering the new release.
Thank you.

Posted: Thu 15 Oct 2009 08:38
by Frankg007
Hi Andrey,

any chance of getting a patch/beta with this solution you found ? We are really waiting for any help/response ....

Thanks,
Frank

Posted: Thu 15 Oct 2009 13:58
by Shalex
Frankg007 wrote:any chance of getting a patch/beta with this solution you found ? We are really waiting for any help/response ....

Thanks,
Frank
We have answered you by e-mail.

Thank you very much

Posted: Fri 16 Oct 2009 15:03
by Tobi
We did a successful roundtrip with the new version on AIX.
Thank you very much for you help!
Best regards,
Tobi

Posted: Tue 20 Oct 2009 09:14
by Shalex
The new build of dotConnect for Oracle 5.25.49 is available for download now.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=16151 .

Posted: Sat 23 Oct 2010 12:24
by psantosl
Hi all,

You guys mention you're working on AIX PPC using Mono.

Could you give me more data about this Mono build? We're running right now on SPARC Solaris and would be very interested on testing on AIX.

Thanks,

pablo

Posted: Mon 25 Oct 2010 16:22
by Shalex
Pablo, the fix mentioned in this thread should be available in all later versions of the dotConnect products. Please try the current build (5.70.180) of dotConnect for Oracle and notify us about the results.

Posted: Mon 25 Oct 2010 18:54
by psantosl
Hi Shalex,

Actually I'm asking for the Mono AIX build, not the devart dlls.

I've an open case in support regarding my issues with Solaris SPARC.

But I'd love if you guys could put us in touch with this company who has successfully created their own Mono AIX build.

Thanks,

pablo