Bad code in Servoy 3.1 Developer

After upgrading to Servoy 3.1 final, in MacOs X, Developer in application preferences license it says Bad Code. In Windows OK

Same code in Application server is OK. License Information in server:
You currently have 7 valid client licenses, which allows 8 clients to connect.

I have 2 developer and 5 client licenses.?

Servoy version 3.1-build 404, repository version 29
java.vm.version=1.5.0_06-64
os.name=Mac OS X
os.version=10.4.8

Regards.

Carles Barbal

Hi Carles,

Did you use the 2.2 license code perhaps ?
For 3.x you need to use the new license code that you received (when you have a subscription license).

Hope this helps.

Hi Robert,

When I became SAN developer version 3 already existed. I have never had problems with 3.0.2 till now that I have updated 3.1. Moreover the same code works perfectly with Windows.

Regards,

Carles Barbal

I had the same thing happen on a Mac system just like yours. I exited Servoy Developer and entered again and evertything was fine. So it looks like it was just the first time going in.

"Did you use the 2.2 license code perhaps ? " – I never needed any kind of new code.

same here, brand new license, says "bad code’ in v3.1 under windows xp

greg

answer from servoy:

if you find a “client” license in the developer’s “properties” file, delete it

if developer is acting as server, you can enter a client license by mistake. This will be fixed

thanks greg for your post!

some more detailed info.

If you open developer it also acts as a mini server for testing as you might know
Now if you open the server admin page, you might be opening the “miniserver” instead of the real servoy app server.
After entering the client license in the admin page, it will be written into the developer property file, instead of the real app server prop file.
Developer might now start complaining about bad code.
To solve this, remove the client license from your servoy.properties file in the servoy main dir.

eg:

license.0.code=XXXXXXXXXXXX
license.0.company_name=XXXXXXXXXXX
license.0.licenses=2
license.0.product=1
license.1.code=XXXXXXXXX
license.1.company_name=XXXXXXXXX
license.1.licenses=5
license.1.product=0
licenseManager.numberOfLicenses=2

now remove the client part and set nr of licenses to 1 (in this example)

license.0.code=XXXXXXXXXXXX
license.0.company_name=XXXXXXXXXXX
license.0.licenses=2
license.0.product=1
licenseManager.numberOfLicenses=1