In some cases upon loading the Magic xpa engine (runtime / studio) the "Error initializing License Manager" error appears.
The most common reason for this error is that a different task gets hold of the license manager, and therefore Magic xpa cannot initialize it.
The list of programs using the license manager can be found in the operating system’s registry:
Run->'regedit'-> HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager.
When double clicking MAGIC_LICENSE_FILE, the list of files accessing the license manager is shown. Usually the error occurs when two of the programs try to get a hold of the license manager at the same time.
A good idea would be to stop unneeded processes that use these files, or uninstall programs that are not used (i.e. programs associated with those files).
Most of the time, the problem is caused by an old version of Magic clashing with a new one.
Another problem we came across is a 3rd party cellular software (e.g Vodafone) installed on the machine. Once removed the problem no longer appeared.