Solution
NOTE: It is a recommended that you back up the registry prior to making any changes. This can be done by exporting the registry key prior to editing it using
File»ExportUsually, this hang is caused by a communication problem with the license server over the secondary or vendor port. Before troubleshooting, you can stop the hang by disabling the license server request. The process depends on which version of Windows you're using:
For Windows Vista, 7, and Newer:
- Close NI License Manager.
- Navigate to C:\ProgramData\National Instruments\License Manager\Data
- Either rename or delete the servers.ini file.
- Open NI License Manager. It should no longer request a license from the license server.
For Windows XP and older operating systems:
- Click Start»Run, type regedit, then click OK to launch the registry editor
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager
- Change the value of the NILM_LICENSE_FILE key to C:\\Program Files\\National Instruments\\Shared\\License Manager\\Licenses
After Disabling the License Server Request:This has now disabled the license server option, allowing you to access NI License Manager. To troubleshoot the underlying cause, complete the following steps:
- Have the volume license administrator ensure that the SERVER line in the volume license file contains the fully qualified domain name of the server
- Ensure that you can successfully telnet to both VLM server ports.
- Try pinging the server from your client computer, both using the IP Address and the computer name of your server
- If you have set up a FLEXnet server with LMTOOLS and are changing the default licensing port, be sure that the new port number is reflected in the license file and that the new port is not blocked on the server machine.
- If you use a System Environment Variable of LM_LICENSE_FILE to point your clients to the server, remove it and replace it with a vendor specific environment variable (i.e. [Vendor Name]_LICENSE_FILE). This environment variable will supersede NI's mechanisms to point the client to NI VLM. To access this value, right-click My Computer, then select Properties»Advanced»Environment Variables
- If you use an alias name for the server, try just entering the server name or IP address directly.
- This issue can also be caused by a missing DNS suffix, preventing proper communication. Complete the following steps to check whether you are missing DNS suffixes:
- Navigate to Start»Control Panel, then open Network Connections
- Right click Local Area Connection, then select Properties
- Select Internet Protocol (TCP/IP), then click Properties
- Click the Advanced button
- In the DNS tab, check that the domain on which the License Server is connected appears in the DNS suffixes list. If it does not appear, click Add... to add the suffix to the list
- If necessary, manually add the local DNS lookup for the VLM server
- Check the contents of the lmgrd file on the server to verify that the server is reserving a license for your computer
- Try entering the server name as both <Computer Name>:<Port> and <IP Address>:<Port
- Temporarily disable your antivirus software and firewall to be sure they are not interfering with network communication