When you tested this on the server did you run the applications .exe directly or did you run the .bat file that you are running on the workstation?
Please try running the .exe directly and see if this works.
Also do you have the rebuild.exe utility available on the server machine?
If you do then please try running this on the server to see if you get the same licensing error.
Thanks.