Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Max Database Not Running error and unable to start service error - Solved

I am posting this here because it took me a while to fix and other people may have the same problem now or in the future.

 

When I started MAX on a machine that I have not had MAX running on for quite a while I got a error that came up that said "The Max Database is Not Running.  Restart your system and try again.  Visit NI.com/info and enter the info code MAXStoppedServiceError if the problem persists"

 

After getting the above error I followed the advice I found on the NI website about starting the service but every time I tried to start the service I was getting Code 5 - Access denied.  I tried uninstalling and reinstalling all of the NI software on my machine and this did not fix the problem.  After a lot of searching and digging I found a note on the internet about taking/changing the ownership of a folder to resolve this error.  On my computer the ownership of C:\Program Files (x86)\National Instruments was assigned to SYSTEM.  I changed the ownership of this folder to Administrators and then I was able to start the NI Configuration Manager service and get MAX to behave right.  To change the owner

I had to right click on the folder ( C:\Program Files (x86)\National Instruments)>>select properties>>go to security tab>click on advanced>>go to owner tab>>change current owner to Administrators (XXX\Administrators).  Since the computer I am on is a work computer I had to use the name of the local computer(XXX above)\administrators to get everything to work right.  On a computer that is not on a central login server the XXX/computer name may not be needed.  

 

I do not know if this is in the right place for this or if I should put is somewhere else but this seemed like a good starting location.  I figured if it was on the forums people could find this solution in a search and it may be beneficial to them since it took me over a day to fix this problem. 

0 Kudos
Message 1 of 2
(6,166 Views)

 

Hi Brian80550,

 

It looks like the first error you got was an NI error that can be resolved by following the steps in the article Info Code "MAXStoppedServiceError" in Measurement & Automation Explorer (MAX) Error.

 

It looks like the second error you got was a Microsoft error that can be resolved by ensuring your Windows account has the correct Administrator privileges.

 

Thank you for taking the time to post your issue context and solution to the forums!

Mike B.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(6,138 Views)