MAXTerminatedServiceError When NI MAX Database Exited Abnormally

Updated May 13, 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
  • Right-click on the Windows Taskbar and select Task Manager. Click the Processes tab and select either NIMAX.exe (on Windows 7), Measurement & Automation Explorer (on Windows 10), or nimxs.exe (for older versions of NI MAX). Click End Process respectively 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
  • To restart the service, the best course of action is to reboot the computer.
  • If you want to start the service manually, go to Control Panel » Administrative Tools » Services. Scroll down to NI Configuration Manager. Right-click the line NI Configuration Manager and select Start. Also, restart the NI Device Loader service. For these changes to take effect, close Services and restart MAX. MAX should now operate correctly.
    • If the NI Configuration Manager service is not started, but all of the options to start the service are greyed-out, skip to Step 4.
 
  • 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 those services' recovery settings to help avoid the problem in the future
  • Navigate to their Recovery tabs 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. If none of these steps work, this could be a database issue. Change the name of the folder C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\data to anything (such as data1) so the folder is no longer recognized as a file path by new downloads of the software. This step is helpful because the database may have crashed or become corrupted. 
  5. Download the latest version of NI-DAQmx. This will create a new database file.
  6. 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