Showing results for 
Search instead for 
Did you mean: 

An unhandled exception occured in lmgrd.exe

I have been getting the error:  "An unhandled exception occured in lmgrd.exe" during windows startup since installing LabWindows CVI 2010.  It seems to have something to do with the license manager.  Any ideas on how to fix this error?



0 Kudos
Message 1 of 6

Does lmgrd.exe still crash if you run it again after startup?


Use the following in the command prompt:

lmgrd -l C:\lmgrdlog.txt

 Post the log here or Private Message it to me if it has confidential information.

National Instruments
0 Kudos
Message 2 of 6

Here is the log:


12:48:54 (lmgrd) -----------------------------------------------
12:48:54 (lmgrd)   Please Note:
12:48:54 (lmgrd)
12:48:54 (lmgrd)   This log is intended for debug purposes only.
12:48:54 (lmgrd)   In order to capture accurate license
12:48:54 (lmgrd)   usage data into an organized repository,
12:48:54 (lmgrd)   please enable report logging. Use Macrovision's
12:48:54 (lmgrd)   software license administration  solution,
12:48:54 (lmgrd)   FLEXnet Manager, to  readily gain visibility
12:48:54 (lmgrd)   into license usage data and to create
12:48:54 (lmgrd)   insightful reports on critical information like
12:48:54 (lmgrd)   license availability and usage. FLEXnet Manager
12:48:54 (lmgrd)   can be fully automated to run these reports on
12:48:54 (lmgrd)   schedule and can be used to track license
12:48:54 (lmgrd)   servers and usage across a heterogeneous
12:48:54 (lmgrd)   network of servers including Windows NT, Linux
12:48:54 (lmgrd)   and UNIX. Contact Macrovision at
12:48:54 (lmgrd) for more details on how to
12:48:54 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
12:48:54 (lmgrd)   for your enterprise.
12:48:54 (lmgrd)
12:48:54 (lmgrd) -----------------------------------------------
12:48:54 (lmgrd)
12:48:54 (lmgrd)
12:48:54 (lmgrd) pid 4252
12:48:54 (lmgrd) Using license file "C:\flexlm\license.dat"

0 Kudos
Message 3 of 6

Are you running a volume license server? Is "C:\flexlm\license.dat" provided by NI? Are licenses typically come with the .lic extension. Are you able to ignore this error and run CVI normally? This is not something related to a typical install of CVI. It may be unrelated. If you are not running a license server, then you can probably disable lmgrd as a startup process.

National Instruments
0 Kudos
Message 4 of 6

We are not running a license server for CVI.  I changed the service to manual and will try rebooting later.  What NI services are required on startup?  There seems to be a lot of them that NI has added in recent years.  Why can't they just be started when the application starts?

0 Kudos
Message 5 of 6

Most of them can be set to automatic. If you are not running a license server, then you do not need this service for CVI. The service is needed for some other NI products such as LabVIEW Remote Panels.

National Instruments
0 Kudos
Message 6 of 6