Licensing issues for mono on AIX

Licensing issues for mono on AIX

Postby sebniepel » Fri 25 Sep 2009 10:29

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
sebniepel
 
Posts: 9
Joined: Tue 08 Sep 2009 09:42

Postby AndreyR » Fri 25 Sep 2009 14:03

Please check the time zone of the AIX machine.
Time zone should be identical to the one set on the development machine.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby sebniepel » Tue 29 Sep 2009 09:48

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
sebniepel
 
Posts: 9
Joined: Tue 08 Sep 2009 09:42

Postby AndreyR » Tue 29 Sep 2009 12:51

Could you please compare the output of BitConverter.GetBytes(1.2345) on Linux and AIX machines?
This can cause the problem.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby sebniepel » Tue 29 Sep 2009 14:39

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).
sebniepel
 
Posts: 9
Joined: Tue 08 Sep 2009 09:42

Postby sebniepel » Tue 29 Sep 2009 16:17

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
sebniepel
 
Posts: 9
Joined: Tue 08 Sep 2009 09:42

Postby AndreyR » Wed 30 Sep 2009 07:48

The problem is fixed. Look forward to the next build of dotConnect for Oracle.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Next build, when are you planning to release it?

Postby Tobi » Wed 07 Oct 2009 10:24

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.
Tobi
 
Posts: 12
Joined: Wed 06 Dec 2006 17:58

Postby Frankg007 » Thu 15 Oct 2009 08:38

Hi Andrey,

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

Thanks,
Frank
Frankg007
 
Posts: 1
Joined: Thu 15 Oct 2009 08:33

Postby Shalex » Thu 15 Oct 2009 13:58

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Thank you very much

Postby Tobi » Fri 16 Oct 2009 15:03

We did a successful roundtrip with the new version on AIX.
Thank you very much for you help!
Best regards,
Tobi
Tobi
 
Posts: 12
Joined: Wed 06 Dec 2006 17:58

Postby Shalex » Tue 20 Oct 2009 09:14

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 .
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Postby psantosl » Sat 23 Oct 2010 12:24

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
psantosl
 
Posts: 2
Joined: Sat 23 Oct 2010 12:04

Postby Shalex » Mon 25 Oct 2010 16:22

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Postby psantosl » Mon 25 Oct 2010 18:54

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
psantosl
 
Posts: 2
Joined: Sat 23 Oct 2010 12:04

Next

Return to dotConnect for Oracle