Error -17005 When Running a TestStand Sequence

Updated Jun 7, 2023

Issue Details

I am getting the following error message when I run a TestStand sequence:
Error Code: -17005, Could not find function in library. Source: 'TSAPI'

The error message looks similar to the following pop-up:
Error -17005.png

Solution

Follow these steps in order to modify the load option of the step causing the issue:​​​​​​

1. Go to the step that is causing the issue by finding it in the sequence specified in the error message.
2. Once you have selected the step that is calling the mentioned DLL, go to the Properties tab and select Run Options in the Step Setting for Action panel which is usually located at the bottom of the window.
3. Go to Load Option and click on the arrow to view the options and select Load dynamically as shown in the following image:
load dynamically.png
 
4. Run the sequence that was throwing the error and now it should run correctly.