MAXTerminatedServiceError When NI MAX Database Exited Abnormally

Updated Oct 16, 2019

Reported In

Software

  • Measurement & Automation Explorer (MAX)

Operating System

  • Windows

Issue Details

While running Measurement & Automation Explorer (MAX) I get the following MAX Database Error:
The MAX database exited abnormally.
Visit ni.com/info and enter the info code MAXTerminatedServiceError if the problem persists.


I may also not be able to:
  • See my software under the Software tab in NI MAX
  • Expand the Data Neighborhood or Software tab without receiving this error in NI MAX
  • Use Test Panels on my devices
  • Use DAQ Assistant in LabVIEW
  • See one of my devices in NI MAX
  • Scan for GPIB devices

Solution

This behavior may be seen for several reasons. Follow the next steps to solve the issue:
  1. Make sure the NIMAX.exe has fully closed
    1. Open Windows Task Manager.
    2. On Windows 7, click the Processes tab and select NIMAX.exe. 
    3. On Windows 10, click on Measurement & Automation Explorer
    4. For older versions of NI MAX, click on nimxs.exe. 
    5. Click End Process or End task and click Yes.
      • On Windows 10 you might need to click More Details to see the process. 
      • On Windows Vista, make sure you check the Show processes from all users option so all processes are visible.
  1. Restart or start NI Configuration Manager and NI Device Loader services
    1. Reboot the computer to restart the services.
    2. If you want to restart the services manually, go to Control Panel » Administrative Tools » Services.
    3. Right-click the line NI Configuration Manager and select Start or Restart.
    4. Repeat the previous step with the NI Device Loader service.
    5. Close Services and restart MAX for the changes to take effect. MAX should now operate correctly.
 
  • Another option is to right-click on each service and select Properties. You can check to see if the service is running in the Service status section. If it is not running, click Start.
 
  1. Modify the NI Configuration Manager and NI Device Loader recovery settings to help avoid the problem in the future
  • Navigate to their Recovery tabs in the Properties window and select Restart the Service from the First failure, Second failure, and Subsequent failures list boxes, as shown in the image below.
 
  1. Reset the MAX database. Please see How to Fix or Restore the NI MAX Database File for explanation on how to do this. Note: Resetting your MAX Database will delete all your MAX Settings (Scales, Virtual Channels, etc).
  2. Force reinstall the NI-DAQmx driver.
  3. Repair the NI-DAQmx driver from NI Package Manager.
  4. Download the latest version of NI-DAQmx. This will create a new database file.
  5. If running into an error when installing a package in NI Package Manager, you may have to enable MSI logs.
 

Additional Information

The database issue might have been caused by the NI Configuration Manager or NI Device Manager services crashing. These services may also never have started on your machine. Additionally, an unexpected computer shutdown or crash can cause the NI MAX Database to become corrupt and require a reset of the database. 

WAS THIS ARTICLE HELPFUL?

Not Helpful