This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Manually Resetting the MAX Database

Updated May 1, 2019

Reported In

Software

  • Measurement and Automation Explorer (MAX)

Operating System

  • Windows

Issue Details

I have one of the following issues:
  • I tried automatically restoring the MAX database and it does not work
  • I launch the Measurement & Automation Explorer (MAX) and:
    • it doesn't show up
    • it gets stuck on splash screen at "loading plug-ins"
    • Get the following message: There was a problem updating the settings for this device. The operation timed out.
  • I think my MAX Database is corrupted
  • My PXI(e) cards are enumerating in the incorrect order or as "Dev#" instead of "PXI1Slot#"
  • ERROR niGPIBsys.dll plug-in 022718.txt

Solution

If you are using NI Measurement & Automation Explorer (NI MAX) version 5.0 or later and can get MAX to open, follow the steps in this guide to reset the database automatically. You can also perform it manually with the following steps:
 
  1. Exit all NI applications. Make sure all firewall software (such as F-Secure, Norton, ZoneAlarm, etc.) is disabled during this procedure. This is particularly important in Windows Vista, 7, or 10.
 
  1. Stop the MAX database service:
  • On Windows XP and Windows 2000:
    1. Select Run... from the Windows Start menu.
    2. Type cmd, and click OK.
    3. In the command prompt, type net stop mxssvr and press Enter to stop the MAX database service. If you are prompted to stop other services, stop them.
    4. Type exit and press Enter to close the command window.
 
  • On Windows Vista, 7, or 10:
    1. Select Programs » Accessories from the Windows Start menu.
    2. Right click Command Prompt and select Run as administrator. If the command prompt is run without administrator privileges, you will receive System error 5 has occurred. Access is denied.
    3. Type net stop mxssvr and press Enter to stop the MAX database service. If you are prompted to stop other services, stop them.
    4. Type exit and press Enter to close the command prompt window.
    5. If you can stop the service, skip step 6.
    6. If you are unable to stop the MAX database service, remove National Instruments software from your System Configuration Startup:
      1. Select Run... from the Windows Start menu.
      2. Type msconfig, and click OK.
      3. Navigate to the Startup tab.
      4. Deselect NI Update Service and NIDEVMON from the list.
      5. Click Apply, then click OK.
      6. Reboot your computer and start with Step 1.
 
  1. Find the Last folder:
  • On Windows XP and Windows 2000:
  1. Navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data Dictionaries\Last
  2. The Application Data folder is hidden by default. To view hidden folders, select Tools » Folder Options..., then click the View tab.
  3. Select Show hidden files and folders.
  • On Windows Vista or 7:
  1. Navigate to C:\ProgramData\National Instruments\MAX\Data Dictionaries\Last
  2. The ProgramData folder is hidden by default. Go to the menu bar in the C: directory and choose Organize » Folder and Search Options, then click the View tab.
  3. Select the Show hidden files and folders option.
  4. Deselect the Hide protected Operating System files option.
  • On Windows 10
  1. Navigate to C:\ProgramData\National Instruments\MAX\Data Dictionaries\Last
  2. The ProgramData folder may be hidden by default. To check that hidden folders are present, go to the menu bar in the C: directory and choose View » Options » Change Folder and Search Options.
  3. In the Folder Options window click on the View tab.
  4. Select the Show hidden files and folders option.
  5. Deselect the Hide protected Operating System files option.
  6. Click Apply then OK.
 
  1. Create a backup copy of the Last folder, and store it in another location. 
 
  1. Find the Data folder:
  • On Windows XP and Windows 2000:  Navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data\
  • On Windows Vista, 7, or 10:  Navigate to C:\ProgramData\National Instruments\MAX\Data
 
  1. Create a backup copy of the Data folder, and store it in another location. 
 
  1. Open the original Data folder and find the file named config3.mxs.bak. Check this file's creation/modification time by right-clicking on the file and choosing Properties. The General tab will list the time it was created and the time it was last modified. If the file is dated such that it would contain your recent configuration settings, continue with the following steps to attempt to recover a valid backup of your configuration. If the file is too old to contain relevant configuration information, or if config3.mxs.bak is the same size as config3.mxs, simply delete the entire Data folder and skip to step 10. 
Note: Deleting the Data folder in its entirety will remove all MAX configuration settings.
 
  1. In the MAX\Data folder, delete the or rename the following files: config3.mxs, config3.mxc, config3.mxd, config3.mx5, and storage.mxc.
Note: If you are unable to delete the Data folder you can restart your computer in Safe Mode and then delete the folder.                   
                                                    
  1. Rename config3.mxs.bak to config3.mxs.
 
  1. Restart your computer. 
 
  1. Open NI MAX. It should launch with the configuration information that was stored as a backup if you did not completely delete the Data folder. Otherwise, MAX will be restored to its default configuration.
Note: Once the MAX database service is working, reset the  National Instruments software in your System Configuration Startup: 
  1. Select Run... from the Windows Start menu.
  2. Type msconfig, and click OK.
  3. Navigate to the Startup tab.
  4. Select NI Update Service and NIDEVMON from the list.
  5. Click Apply, then click OK.
  6. The changes will apply when you reboot your computer.
 
  1. If reverting to the back-up version of your MAX database does not resolve this error, please send your original corrupt Last and Data folders along with a MAX Support Report to NI Technical Support. You can create this report in MAX by following the steps outlined in Using MAX Technical Report to Document Measurement & Automation Explorer (MAX) Configuration Information.

WAS THIS ARTICLE HELPFUL?

Not Helpful