Solution
This is usually caused by a permissions error associated with the configuration directory you selected.
You can follow three different methods to try to solve the problem.
Method 1:
In some cases, you can fix this by running TestStand with elevated permissions (i.e., run TestStand as administrator) and then changing the Configuration Directory back to
<TestStand Default Directory>.
To do this, you have to:
- right-click on any shortcut to TestStand or SeqEdit.exe and select Run As Administrator. TestStand should now open normally.
- navigate to Configure >> Station Options >> Preferences and change the Configuration Directory to <TestStand Default Directory> using the drop-down menu. Select OK. Select No to prevent making copies of your configuration files
- exit TestStand.
You should now be able to open TestStand without seeing the errors mentioned above.
Method 2:You can also resolve this by manually copying the contents of the TestStand Cfg folder into the new configuration directory. To achieve this:
- locate the Cfg folder, that installs by default into C:\ProgramData\National Instruments\TestStand 2016 (XX-bit)\Cfg
- copy all of the contents of the Cfg folder
- paste into the new Configuration Directory TestStand is looking to. You may need Administrator privileges to complete this step.
After copying the files, you should be able to open up TestStand and change the Configuration Directory back to the default location as explained in Method 1.
Method 3:This method involves modifying the Registry Key mentioned in the error screenshot above.
You need to follow these steps:
- Go to Start>>Run... and enter regedit.exe into the command line.
- Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\<version>
- Double-click the CfgLocation registry key, and change the file path in the Value data box of the Edit String window.
- Select OK and close out of the Registry Editor.
You should now be able to open up TestStand normally.