Since QV10SR2 (I could be wrong here), leases are restricted to two MAC-addresses, whether they be AccessPoint leases or Desktop leases (they're all thrown together). When those are consumed, you're out of luck for at least 24 hours. AccessPoint leases are released after twentyfour hours.
But there is no way to go beyond the limit of two MAC-addresses for the same account name.
It's right what peter said that you can lease license maximum at two places.
1) If you have already leased the license in two place then please clear the license information from you side (it is not advisable as it might take 29 day to clear the license information) or ask the admin to clear the license history for you from there side and again add your name in the leaseing license list after 24 hour (by this way you can get the license after 24 hour ).
2) The above error is tunneling error and some time it come due to network issue also. So if your problem doesnot resemble with case 1 then please try again and if you still face the issue then contact your Qlikview server Admin.
When you try to clear the license information the lastest date of use will be taken in consideration (irrespective of server) and as explained above it will take time to release the information.
As you are using 3 environment clearing the license every time by your self or asking the admin to clear the license is little bit difficult (or I can say annoyning) but no other go in this case . If your organization is ready then you can take the individual developer license , which you can use in any number of server.
Well, license management by QVS is far from an airtight process. I remember being able to grab back one of two leased licenses after only 24 hours (just like you suggest), although both of them were assigned to some other machine for at least 29 days. It seems that a license can be reassigned after 24 hours of inactivity just by asking. The desktop that lost a license will fall back to PE mode upon first contacting the server.
Also keep in mind that a license leased to your desktop also covers visits to an AP.
For your DEV-TEST-PROD, are you using a QlikView Test server? Those have double the number of AP licenses, but only the production machine can lease licenses for desktop use. So yes, max 2 desktops. But changing them is easier than you would think with the 29-day lease period.
In our current environment, we decided to put DEV & TEST (or Acceptance) on a single machine. We develop via RDP whose sessions to a particular server all have the same machine ID. We don't do any development on production as that would be a bit contrary to the naming. That set-up has proven advantageous so far.
BTW I currently have 3 AP sessions open on three different platforms. Two of those machines also have a desktop running. I'm currently seeing 2 MAC-addresses for the desktop licenses. Just the AP sessions will share single license, so I get a lot of "Lost Connection..." messages.
PS With regard to Server & License behavior, I'm currently working on a QV11 set-up. Your environment may be more restrictive.