Solution
This error is associated with multiple root causes which are outlined below:
Note: Take into consideration that the majority -if not all - of these procedures require the user to have Admin Rights in the machine or explicit privileges to install, configure services and/or change registries. If you do not have Admin Rights, get in contact with your IT Administrator so they can either, grant you temporary Admin Rights or help you with the troubleshooting.
Removing MAX and all other NI applications from the blocked programs list is necessary for proper functionality. Some commonly blocked NI programs are:
NIMax.exe, nimxs.exe, NiAsstnt.exe, nipalsm.exe, nidevmon.exe. This simple solution should be one of the first options explored when a database connection issue is seen in MAX - prior to uninstalling NI software.
NOD32 Anti-virus software could be blocking the HTTP port that MAX uses for the database. Please see:
Why Do I Get "MAX Database Connection Error" When Using NOD32 Anti-Virus Software? .
- NI Configuration Manager or NI Device Loader (nidevldu) Services Not Started
To verify if the NI Configuration Manager service is started and operating, go to
Control Panel»Administrative Tools»Services. Scroll down to NI Configuration Manager (may show up as
nidevldu). You may also launch Services by navigating to Start»Run and entering
services.msc.
If the NI Configuration Manager service does not appear in the list or has problems starting, the first thing to try is a
Repair of MAX.
Make sure the service's Status is started. If it is not, right-click it and select
Start. Also, try restarting the NI Device Loader service. For these changes to take effect, close out of Administrative Tools, and restart MAX. If the NI Configuration Manager or
nidevldu service was not started before, MAX should now be able to operate correctly.
If you previously had configured a Serial or GPIB-ENET device but this device is no longer connected, the server may experience some delays due to the timeout that occurs while trying to connect to the non-existent device(s).Due to the delay, MAX may report a Database Connection error. In this case, reconnecting the ENET device to the system or removing the reference to the ENET device will resolve this error. When switching between a Macintosh to a PC, you will need to reset the device to have it accessible.
- PCI-7041 Driver Combination
If you have the following combination of software installed you can change your registry or change the software you have installed.
- NI-VISA 4.x
- PXI Platform Services 2.3
- PCI-7041 RT Plug-In Board driver (Nov 2005 and earlier Driver CD)
- NI-VXI
- Traditional NI-DAQ (Legacy) 7.x
This error can be due to a corruption during the installation process,
force reinstalling the driver will fix the corruption and solve this error.