Additional Information
To further verify that the crash is related to version differences between the TestStand Sequence Editor and Runtime, you can use Fusion Logs. Fusion Logs can be enabled in one of two ways.
- Registry Keys
Add the following registry keys.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
Add:
DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
DWORD EnableLog set value to 1
String LogPath set value to folder for logs (e.g. C:\FusionLog\)Make sure to include the
backslash after the folder name and check that the folder exists. You will need to restart the program that you're running to read the new registry settings.
2. Fusion Log Viewer (fuslogvw.exe)
With either of these methods, a
.htm document should be created when the computer sees a bind failure. Check these logs for the
TSDotNetSupport.dll being called by a newer version.
An excerpt of a fusion log showing the bind between TestStand Sequence Editor 2016 and TestStand Runtime 2016 SP1 is included below. In summary, the log says "We looked for the 2016 version of the DLL but found a newer 2016 SP1 version."
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: TSDotNetSupport, Version=16.0.0.185, Culture=neutral, PublicKeyToken=ad9244eb3b825cd8
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/National Instruments/TestStand 2016/Bin/TSDotNetSupport.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files (x86)\National Instruments\TestStand 2016\Bin\TSDotNetSupport.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: TSDotNetSupport, Version=16.1.0.52, Culture=neutral, PublicKeyToken=ad9244eb3b825cd8