Solution
We recommend checking whether it is completely necessary to load the assembly from a remote location, since this could cause some security vulnerabilities on your system. If possible, place the assembly on a local directory on the machine running the test sequence. If you require to load the assembly from a network location follow these steps:
- Go to the installation directory for TestStand:
- For 32 bit TestStand: C:\Program Files (x86)\National Instruments\TestStand 2019\Bin
- For 64 bit TestStand: C:\Program Files\National Instruments\TestStand 2019\Bin
- Open SeqEdit.exe.config with a text editor (notepad for example). Create one if it does not exist.
- Add the following line to the "runtime" section
<loadFromRemoteSources enabled= "true"/>
- The file should look like below. Please refer to TestStand and .NET Framework Compatibility for the supported versions of NI TestStand with .NET
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
<runtime>
<loadFromRemoteSources enabled= "true"/>
<generatePublisherEvidence enabled="false"/>
</runtime>
</configuration>
- Save the file and restart TestStand.