Académique Documents
Professionnel Documents
Culture Documents
33 ratings:
4.42 out of 5
For MAX version 5.0 and newer Starting in version 5.0, there is a new reset configuration data utility available from within MAX. This utility allows you to automatically restore the MAX database back to default. If you have MAX version 5.0 or later installed, use this option by completing the following steps. Steps to use the reset configuration data utility in MAX: 1. From within MAX, select Tools Reset Configuration Data.
2. Make sure to save any unsaved progress from any open programs. When prompted with the following dialog box, select Yes to restart your computer.
3. After your system restarts, the MAX database will be set to default. For earlier versions of MAX For versions previous to MAX 5.0, you can run the MAX Database Corruption Removal Tool, which is designed to automate the process of removing database corruption. To use this tool, log into an account with Administrator privileges and run the downloaded executable. If any errors occur while running the tool, go through the steps below to make sure the process was completed. Note: If you are unable to complete the following steps using normal system settings, please reboot your computer in Windows Safe Mode and attempt to complete the steps once again. Manual steps to remove MAX Database corruption: 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 and Windows 7. 2. Stop the MAX database service: On Windows XP and Windows 2000: 1. Select Run... from the Windows Start menu. 2. 3. 4. Type cmd, and click OK. 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. Type exit and press Enter to close the command window.
On Windows Vista and Windows 7: 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. Type net stop mxssvr and press Enter to stop the MAX database service. If you are prompted to stop other services, stop them. Type exit and press Enter to close the command prompt window.
3. 4.
Note: 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. 3. Find the Last folder: On Windows XP and Windows 2000:
1. 2. 3.
Navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data Dictionaries\Last The Application Data folder is hidden by default. To view hidden folders, select Tools Folder Options..., then click the View tab. Select Show hidden files and folders.
On Windows Vista and Windows 7: 1. Navigate to C:\ProgramData\National Instruments\MAX\Data Dictionaries\Last 2. 3. 4. If this folder is not shown, go to the menu bar in the C: directory and choose Organize Folder and Search Options, then click the View tab. Select the Show hidden files and folders option. Deselect the Hide protected Operating System files option.
4. Create a backup copy of the Last folder, and store it in another location. 5. Find the Data folder: On Windows XP and Windows 2000: 1. Navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data\ On Windows Vista and Windows 7: 1. Navigate to C:\ProgramData\National Instruments\MAX\Data 6. Create a backup copy of the Data folder, and store it in another location. 7. 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. 8. In the MAX\Data folder, delete the file named config3.mxs or save it with a different name. Do the same for any of these files if they exist in the Data folder: 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. 9. Rename config3.mxs.bak to config3.mxs. 10. Reboot your computer. 11. Start 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 12. 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 choosing File Create Report in the menu. Please contact National Instruments Technical Support if you have additional questions. Related Links: KnowledgeBase 42HG08DD: Why Do I Get a Measurement & Automation Explorer (MAX) Database
Connection Error? KnowledgeBase 4XQAJPBQ: Why Can't I Export My Custom Scales In the MAX Export Configuration Wizard? Developer Zone Community: MAX Database Corruption Removal Tool Attachments:
My Profile | RSS | Privacy | Legal | Contact NI 2012 National Instruments Corporation. All rights reserved. | E-Mail this Page