MATLAB: Is the Borrowing UI greyed out and the Network License Manager crashing when I try to use the Borrowing feature

Why is the Borrowing UI Greyed out and the Network License Manager crashing when I try to use the Borrowing feature?
I implemented borrowing on our license manager and enabled the Borrow UI, but when I launch the Borrow UI all of the options are greyed out. I tried refreshing the Borrow UI and this crashed the license manager with the following errors:
11:32:27 (lmgrd) MLM exited with status 255 ()
11:32:27 (lmgrd) Since this is an unknown status, license server
11:32:27 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.
11:32:27 (lmgrd) ReStarted MLM (pid 3712)

Best Answer

  • This scenario has been been show to manifest when the network license manager is hosted on a 64-bit Windows Server 2012 configuration using the 64-bit 11.11.1.2 License Manager binaries. As a workaround, try replacing the existing License Manager binaries with the 11.13.0.2 binaries.
    As a note, you will need to remove the service from the existing LMTOOLS prior to setting up the new LMTOOLS. This can be done from the 'Config' tab in LMTOOLS. If you have changed the folder containing the binaries, please be sure to update the DAEMON line in the license.dat file to point to the new MLM directory location.
    It is possible that the cause of this issue is because Microsoft's Data Execution Prevention service creates a conflict with the 64bit service when using the Borrowing feature.